How to programmatically inject jquery code in chrome extension -


i have requirement of inserting following jquery code on click of extension

var klo=$(".dijitaccordiontitle.dijitaccordiontitle-selected").parent().siblings().css("display","none") $('#containerdiv').show().parentsuntil('body').andself().siblings().hide(); $("#dijit_layout_accordioncontainer_0").height($(document).height()) 

similar concept explained in "programmatic injection" of http://developer.chrome.com/extensions/content_scripts.html.my issue want run jquery code instead of plain javascript code. thanks


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -