how to unbind all event using jquery

Viewed 87498

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

4 Answers

To remove all event bindings from all elements including document use :

$(document).off().find("*").off();
Related