Possible Duplicate:
How can you if check a jQuery plugin is already bound to a DOM node?
I am not sure if that exists, but is there any way to get the list of plugins that are applied on an element ?
In example. If we have the following code:
$('div').setHeightPlugin().setWidthPlugin().changeColorPlugin();
is there a way later to get the list of that plugins, that are applied on the div elements and/or remove it from the divs?
Something like
var plgs = $('div').getPlugins();
delete plgs['changeColorPlugin'];
The latest snippet, is just the basic idea.