Labs/Ubiquity/jQuery in Ubiquity

< Labs‎ | Ubiquity
Revision as of 00:55, 6 September 2008 by Gfraser (talk | contribs) (New page: Here's an example of using jQuery in Ubiquity: // get the active document var doc = Application.activeWindow.activeTab.document; // find div.foo in the body of that document jQuery('div....)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Here's an example of using jQuery in Ubiquity:

// get the active document var doc = Application.activeWindow.activeTab.document;

// find div.foo in the body of that document jQuery('div.foo', doc.body);