18
edits
(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....) |
No edit summary |
||
Line 2: | Line 2: | ||
// get the active document | // get the active document | ||
var doc = Application.activeWindow.activeTab.document; | var doc = Application.activeWindow.activeTab.document; | ||
// find div.foo in the body of that document | // find div.foo in the body of that document | ||
jQuery('div.foo', doc.body); | jQuery('div.foo', doc.body); |
edits