JQuery vs Prototype. Which is Best????

And we rate JQuery the best!!!!

Listen, Prototype makes Javascript interesting. It's a great [big] library. It's beautiful. Go and use it. It's nice, really.

But, JQuery, oh JQuery! JQuery makes Javascript fun — just as advertised! Though Prototype is starting to feature some of the same features, JQuery already allows you to objectify any element(s) that can be selected with any CSS 1-3 selector (yes, any valid selector, including the ones that browsers don't support) as well as most any XPath designation as well. It opens the DOM like some well written book.

For instance to make a table with styles alternating on every other row, here's the code to do it using either library:

For the complete details you should read this

No comments: