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
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
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
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
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
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
6 matches
Mail list logo