unBind or destory method
Opened this issue · 2 comments
MoonDevilzzz commented
Hi guys, what about destroy or unbind method? Is it available? How can i unbind the plugin?
bogdan commented
I am not sure what do you mean. Please explain
MoonDevilzzz commented
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
}