When I use this function to create a JSON object:

var formObject = $(":input").serialize();

and I print it, I get "name=value&name=value..."  This isn't proper
JSON string and the .NET webservice I'm sending it to barfs.

How can I make it stay in the proper format, i.e.

"{'fname':'dave', 'lname':'ward'}"

Thanks!

Reply via email to