Each plugin itself must be written to expose a method to remove it from an element. Something like
$("input").fooDestroy() - Richard On 9/10/07, Mika Tuupola <[EMAIL PROTECTED]> wrote: > > > Is there a way to remove a plugin from an element? Lets say I have > plugin called foo. I attach it to all inputs. > > $("input").foo() > > Later I need a way to detach foo() from some input elements. One way > would be to have conditionals inside foo code. However I would prefer > detaching plugin for good. > > -- > Mika Tuupola > http://www.appelsiini.net/ > > > >