Friday, June 7, 2013

In Javascript you may need to unbind an event. In JQuery this could be done with the .off() method.

Eg:

$("body").off('keydown');

unbinds the keydown handler from the HTML body


No comments: