Hello,

I am trying to decide on a JS framework for my website and I am
looking at jQuery and prototype. While, I understand there are many
philisophical differences between the implementations, it looks like
to me one of the big differences are all of the new functions
available in prototype.

What I am curious about, is does jQuery have support for these things
or in jQuery are you basically expected to use the easy access to DOM
objects to create the functionality you need as you go.

For example, in prototype, adds these methods to the form element
(http://www.prototypejs.org/api/form
):

disable enable findFirstElement focusFirstElement getElements
getInputs request reset serialize serializeElements

Does jQuery have anything similar? In jQuery would you just write
these yourself? I can see the benefit of this being that you only
include the methods you need and there is no bloat. But I just
recently read that you can get a compressed prototype library down to
26k - so isn't that almost the same as jQuery?

I guess I am just looking for a reason to use jQuery vs. Prototype and
an argument about why I don't need all those (useful?) methods
available in prototype? Anyone?

Reply via email to