[jQuery] Re: easy way to get all input value

2008-06-13 Thread vincent voyer
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

[jQuery] Re: easy way to get all input value

2008-06-13 Thread Dan G. Switzer, II
Jack, 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? If your

[jQuery] Re: easy way to get all input value

2008-06-13 Thread Jack Killpatrick
OK, thanks, I'll give it a shot. If I remember correctly, my tests with jquery's .serialize() and jquery form plugin's .serialize() didn't work unless the selector returned a form. Not sure why: the docs didn't say anything about that not working, but all the examples *were* using form ID's

[jQuery] Re: easy way to get all input value

2008-06-12 Thread Dan G. Switzer, II
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

[jQuery] Re: easy way to get all input value

2008-06-12 Thread JACK
Dan, Thank you so much! Jack On Jun 13, 12:17 pm, Dan G. Switzer, II [EMAIL PROTECTED] 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

[jQuery] Re: easy way to get all input value

2008-06-12 Thread Jack Killpatrick
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