Hi Guys, How can i bind/unbind an event to a specific function of a class?
e.g.
class {
somecallback() {
},
somefunc() {
$(document).keypress(this.somecallback);
},
otherfunc() {
$(document).unkeypress(this.somecallback);
}
}
Is this possible?
Thanx,
Gilles
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
