Browsing the blog archives for December, 2009
Browsing the blog archives for December, 2009
One of the things I have always liked about jQuery since I first started using it is how easy it is to bind events to elements, and have easy access to the bound elements via “this”. However, when you start programming object oriented JavaScript, you lose access to the object’s “this” unless you use closure:
var [...]