I asked this via another thread, but no reply yet... so tossing it in here, too. Do you know if *any* selector can be used with .formHash() or just an id for a form? IE, if I have a few divs inside a form can I use a div id to just get the formHash for form fields inside that div?

Thanks,
a different Jack

Dan G. Switzer, II wrote:
Jack,

The Field plug-in has a formHash() method which does exactly that:

http://jquery.com/plugins/project/field

You can see an example here:
http://www.pengoworks.com/workshop/jquery/field/field.plugin.htm

If you are using Firebug, you can see the dump of the form in your console
when you click the "$('#frmTest').formHash()" button.

-Dan

  
-----Original Message-----
From: jquery-en@googlegroups.com [mailto:jquery-en@googlegroups.com] On
Behalf Of jack
Sent: Thursday, June 12, 2008 9:52 PM
To: jQuery (English)
Subject: [jQuery] easy way to get all input value


Hi, all

Is there an easy way to get all the input values on a form into an
object? Thank you very much!


Jack
    


  

Reply via email to