Browsing the archives for the JavaScript category
Browsing the archives for the JavaScript category
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 [...]
Just found John Resig’s javascript templating engine, even though it’s been around a while:
http://ejohn.org/blog/javascript-micro-templating/