Being a bit more awake right now I realize that's probably one of the stupidest things I've said on this mailgroup! :D
On Nov 4, 7:48 pm, ricardobeat <[EMAIL PROTECTED]> wrote: > > > "And you can't check for the element's > > existance anywhere within the plugin code because all event handlers > > have been removed with the element itself." > > > I don't really understand this, or it isn't at all what I experience > > from testing. I have a console.log in the function fired by the timer > > created by the plugin. It outputs $(this).length, which would be 1 > > since the plugin code attaches itself to each object supplied thru the > > jQuery object. If assign my rotate-plugin to for example $('#rotate') > > and then delete that same element, $(this).lenght will still output 1. > > If I however console.log($('#rotate').lenght) it would respond to the > > changes in the DOM. > > I mean it's useless to put a check inside of 'onmousemove' for example > because that event will not be fired anymore, as it's owner element > has been removed from the DOM.