[jQuery] Queueing and Dequeueing AJAX calls

2007-10-16 Thread Michael Heilemann
I want to create a queue of ajax calls to be triggered at a certain point. But I want to also be able to dequeue calls, so that the user can 'undo' his decisions. I seem to think, for some reason, that there is some mechanic like this in jQuery already; but I'm not sure how it works or where it's

[jQuery] jQuery for GreaseMonkey

2007-06-23 Thread Michael Heilemann
So I've got these nice script I've written, that I really want to turn into GreaseMonkey scripts. The problem is, I want to embed the jQuery code _in_ my GM script, so that they're easy to distribute, but I can't get it to work. I've tried Sean Catchpole's GM script, and maybe I'm missing somethi

[jQuery] Removing injected elements

2007-06-17 Thread Michael Heilemann
Hey all, Alright, so its fairly easy to inject content with jQuery, like for instance with .wrap(). But how do you remove those injected elements again, without destroying the underlying content? .remove() will remove anything contained within an element, but what I need is something that only re