[jQuery] Using JQuery in firefox extension
hi
I try to use JQuery in firefox extension and have some trouble.
for example:
$('img').click(function() { alert('hello')};); // no error, but no
use either.
or
window.content.$('img').click(function() { alert('hello')});); // it
will raise a error about content.$ is not a function
or
window.content.eval('$("img").click(function()
{ alert("hello")});); // could not use eval
How should i do to use JQuery in firefox extension?
thanks
lucemia