jquery deactivate plugin -


I have a plugin called "Fuplagin" which I call it $ (element) .fooPlugin (); But later, I want to deactivate the plugin to disable the plug-in? Currently, I am using the jwysiwyg plugin

I am creating an editor with the jwysiwyg plugin and I need to enable the editor when I click a button and when pressed a button So the editor is removed

please help!

There can not be any general way to separate the plugin, who knows what a plugin can be For nodes, so only that plugin can separate itself, eg.

  $ (element) .fooPlugin () // add $ (element) .removeFooPlugin () // remove  

then jwysiwyg docs or ask them, it seems that they have not destroyed or removed the methods.


Comments