Hi Brook,

All of the functionality is available to jQuery users but not all of it is in the core. One of the things that we try to do is really keep the core clean and lightweight.

With that said, jQuery team member Mike Alsup has created a form handling plugin which is complimentary to jQuery and allows you to handle many of the things that you listed. You can see it here:

http://malsup.com/jquery/form/
http://malsup.com/jquery/form/#api

If you're interested in disabling elements or an entire page, you've got to check out Mike's blockUI plugin. Its so slick:

http://malsup.com/jquery/block/

And lets say you wanted to populate multiple elements simulataneously, Mike's Taconite plugin and do that for you:

http://malsup.com/jquery/taconite/

There are also numerous plugins to handle almost anything you would want to do on a form:

http://jquery.com/plugins/project/Plugins/category/20

Overall, I would say that jQuery is functionally on par with any library out there and we do have the best community support I've experienced.

Hope you join the fun.

Rey...


[EMAIL PROTECTED] wrote:
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