jQuery 1.3 Beta 1 - live()!
Published: 2009-01-02
There are some pretty nice things in the latest beta release of jquery but the live() method is my favorite. Event handling has been limited to existing DOM elements without implicitly 're-attaching' the listeners in the callback, the live() method provides a much tidier way to do this:
$("#div.listen-to-me").live("click", my_function);The live() method is called once and work for all exisitng elements and subsequent elements added to the DOM dynamically. More info here http://blog.jquery.com/2008/12/22/help-test-jquery-13-beta-1/
RECENT ARTICLES
Lightweight blog created on Ruby/GAA/Datastore stack
Put this together a month or two back but never got around to replaci... read more
Using Node JS and Couch DB Stack for Web Dev
With the recent hype surrounding Node.js I thought I'd better get my ... read more
Campaign Monitor API Using PHP and SOAP
Campaign Monitor has a fairly comprehensive API and support docs.&nbs... read more
Google Maps Snippet
Absolute bare basics when it comes the Google Map api but a snippet o... read more