Hello,

$('#myform').serializeArray() will give you a great Json object to
work with ! (And send it to a $.post request for example)

Dunno if it's what you were searching for but i use it very often to
send data to an ajax request

On Jun 13, 4:56 am, Jack Killpatrick <[EMAIL PROTECTED]> wrote:
> 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/fieldYou can see an 
> example 
> here:http://www.pengoworks.com/workshop/jquery/field/field.plugin.htmIf 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:[EMAIL PROTECTED]:[EMAIL PROTECTED] 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