i can use this code to remove click event,
$('p').unbind('click')
but , has some method to remove all event ?
has a method named unbindAll in jquery ?
thanks
i can use this code to remove click event,
$('p').unbind('click')
but , has some method to remove all event ?
has a method named unbindAll in jquery ?
thanks
To remove all event bindings from all elements including document use :
$(document).off().find("*").off();