> "serializeArray(): Serializes all forms and form elements
>  (like the .serialize() method) but returns a JSON data structure for
> you to work with."
>
> I'm trying to use this method to serialize a form to a JSON string,
> however is not working.
> Instead of: {'Name':'yuiy','hdnValue':'ringo'}
>  it creates a querystring: txtName=yuiy&hdnValue=ringo

serializeArray returns an array.  It's up to you to convert that to a
JSON string if that's what you need.  I recommend Doug Crockford's
json2.js script:

http://www.json.org/json2.js

Reply via email to