Is there a \"global\" unbind function in jQuery, such that I\'d be able to remove all bound events from a given namespace? eg:
// assume these are the events bou
You need to use jQuery's On and Off methods. Use document as the selector.
$(document).off('.myNS');
$(document).on('click.myNS','#foo', ...);
$(document).on('keyup.myNS','#bar', ...);
$(document).on('dblclick.myNS','#baz',''');
then your methods could look like
$(document).on('click.myNS','#foo', fooClicked);
var fooClicked = function(e){
var $this = $(e.target);
// do stuff
}