I would to know how can I remove all the attached events to an HTML element in jQuery. We suppose that we have the instruction below:
$('<div class="notification" style="bottom:'+ind+'px">Message envoyé '+i+'<span class="close">x</span></div>').fadeIn(1000,"linear").delay(5000).fadeOut(3000,"linear");
How can I remove the fadeIn, delay and fadeOut events which are attached to the html event without using on(), bind()....etc ??...In fact I tried with .off(), .unbind(), .die(), .undelegate() but it didn't work. Is there anyone who has an idea?
Thanks in advance.