I have create an event on click
$('#next').bind('click', function(e) {
//my animation event
});
the animations lasts for 400 ms - so i don't want th user to be able to click the next button until the animation finishes. is there a way to make the event handler inaccessible for 400 ms after the event fires?
Im sorry if this is obvious, but i struggled coming up with a google search. Maybe I'm missing some terminology.
Thanks everybody :)
you can do like this:
this may help you :)