Hey there,
I am using jQuery in a Firefox add-on. So I have to use the jQuery selector context to access the contentDocument:
- var elems = jQuery(".selectors", doc);
(doc = gBrowser.selectedBrowser.contentDocument) [Mozilla-specific]
That context is accessing the entire website markup, of course. But I'd like to specify the context even further. Is that possible?
Something like
- var elems = jQuery(".selectors", jQuery('#selector', doc ));
Or would there be a better way?
Regards,
Oliver
----------------------------------------------------
:|