> what benefits of JQuery vs prototype?(http://www.prototypejs.org/)
In reality, most js frameworks offer similar core functionality. What you're usually comparing is syntax and general coding approach, which vary quite a bit based on personal preferences. All frameworks are going to let you add a class to an element, for example, and all should do it without any problems. I think the key differences between jQuery and Prototype are: 1) Prototype encourages a class-based structure, which IMO is not very javascripty. If you want classes, look at Prototype. 2) jQuery encourages a coding style that is short and easy to read. The "look how easy it is with Prototype!" examples usually resemble obfuscated Perl more than Javascript to me. 3) Prototype is tied closely to the Ruby on Rails community. If you use Ruby on Rails, definitely choose Prototype. Outside of that community I see no reason to choose Prototype over other frameworks like jQuery or even Moo. If you must have a class-based design, look at Moo. If you like readable code, look at jQuery. Matt Kruse _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/