ajaxsubmit icon indicating copy to clipboard operation
ajaxsubmit copied to clipboard

unBind or destory method

Open MoonDevilzzz opened this issue 9 years ago • 2 comments

Hi guys, what about destroy or unbind method? Is it available? How can i unbind the plugin?

MoonDevilzzz avatar Mar 21 '16 08:03 MoonDevilzzz

I am not sure what do you mean. Please explain

bogdan avatar Mar 24 '16 12:03 bogdan

i have a lightbox plugin that shows a form loaded via ajax. On load event i'm starting the plugin and all fine, but when popup closed and opened again plugin initializing again and by one-click form send the result twice e.t.c, so i want to unbind ajaxSubmit on popup close.

onLoad:function(){ $('.box form').ajaxForm(); }, onClose:function(){ //unbind plugin }

MoonDevilzzz avatar Mar 24 '16 13:03 MoonDevilzzz