Prototype's official website has only 1.3.1 downloads, but the 1.4.0 version has been available for download one months ago, and the development of new features continues.
Get the message from Ajaxian: the $ (X) series function that prototype is famous for adds new members--$$ ()--this function will be a quick way to cssselector. Use the form code as follows:
$$ (' div#pagep.summaryimg '). each (element.hide);
The preceding code hides the picture in the paragraph with the ID "summary" and the paragraph must be a child of the div block element with the ID "page".
This shows that the application of cssselector is becoming more and more popularized, also shows that the structure and performance separation, behavior binding structure of the Web page development concept has been deeply rooted.
Report:
Behaviour is a simple class library on the prototype Web site that uses Cssselector to register a script event handler. The introduction of the $$ () method shows that prototype has integrated behaviour.
jquery is another small class library that focuses on providing the $$ () method functionality.