On NuCleuZ's blog today, he has a quick note about a simple AJAX library that allows you to "place callback functions on html elements based on their CSS selectors".
Cleans the html up a lot ( check out the examples that he refers to ) and separates the javascript out to the header and/or a separate js file ( much like the contextmenu.js I've worked on )
With a lot of talk about ajax these days there is a new little library: behaviour.js ( from the O'Reilly Radar ) or: Using CSS selectors to apply Javascript functionality, is a very clean way of adding callback functions to html elments based on their css selectors ( rules doesn't cascade yet, but it looks like the author have started thinking about it)
I haven't gotten a chance to check this one out yet, but it does look pretty nice, especially if you want to do more seemless integration with AJAX methods and your page...




