Prototype vs jQuery
One of prototype’s often overlooked functions is Element.addMethods(). Especially in these days of comparison between jQuery and Prototype, it’s important. The basic idea behind jQuery is that you can do a CSS selector query, and apply methods (even chaining them) to the result. Like:
12$(’#element’).after(’I get inserted after #element’);
//insert some html after an element
In prototype, you [...]