Changes

Jump to: navigation, search

Labs/Ubiquity/jQuery in Ubiquity

6 bytes added, 00:35, 9 February 2009
Recommand to use CmdUtils.getDocument()
Here's an example of using jQuery in Ubiquity:
<pre>// get the active documentin a secure wayvar doc = ApplicationCmdUtils.activeWindow.activeTab.documentgetDocument();
// find div.foo in the body of that document
 
jQuery('div.foo', doc.body);
</pre>
21
edits

Navigation menu