One of my favorite libraries is Prototype
. It provides the dollar-sign ($
) convenience method for document.getElementById, which greatly speeds up coding. Elements are automatically extended with methods such as addClassName()
, so you don't have to waste time writing cross-browser code. Event handling, which is one of the biggest messes in cross-browser scripting, is taken care of by the Event.observe()
Built on top of this library is the fantastic script.aculo.us
Best of all, both of these frameworks are open source and completely free
. If you haven't already, take a look
and be sure to try them out in your next project!