how can i disable click event before fadein and enable it after fadeout?
my js code:
$(\'a\').click(function(){ // disable click $(\'div\').fadeO
Add as the first line of your click callback:
if ($('div').is(':animated')) return;