In a previous post I asked how to delete a whole div pane like

<div id="foobar">
....
</div>

and an answer was:

$("#foobar").remove();

Thank you.

I wrote this statement into a user script

myscript.user.js

and installed it on my current Firefox.

However when I called the web page then the div pane remains and is not deleted.

Why?

I assume that I cannot call JQuery statements directly from *.user.js scripts.

How else can I call them?

So do I have to wrap them somehow:

CallJQeury("$("#foobar").remove();");

Ben




-- 
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en.

Reply via email to