Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unbind - Remove - Kill a jQuery plugin

Is there a way to "unbind" a jQuery plugin from a jquery selector?

like image 573
tsiokos Avatar asked Aug 17 '10 12:08

tsiokos


1 Answers

You can unbind the plugin name from the jQuery prototype object with delete:

delete $.fn.pluginName;

This doesn't affect already initialized plugin instances though.

like image 160
reko_t Avatar answered Oct 21 '22 23:10

reko_t