[jQuery] Re: jQuery allow encoding into json?

2008-06-05 Thread Karl Rudd
You want: http://docs.jquery.com/Ajax/serializeArray Karl Rudd On Fri, Jun 6, 2008 at 10:15 AM, Mark [EMAIL PROTECTED] wrote: could not find a function for it. Will be creating a complicated js object on client side. Want to encode that object into json, and stuff the value into a

[jQuery] Re: jQuery allow encoding into json?

2008-06-05 Thread Mike Alsup
could not find a function for it. Will be creating a complicated js object on client side.  Want to encode that object into json, and stuff the value into a hidden form field for POST. anybody help a nubie? Here's some links: http://jollytoad.googlepages.com/json.js

[jQuery] Re: jQuery allow encoding into json?

2008-06-05 Thread Morgan Allen
*http://mg.to/2006/01/25/json-for-jquery http://www.mail-archive.com/[EMAIL PROTECTED]/msg06247.html the second is a port of the original from json.org, I use that for my JSON requests. * On Thu, Jun 5, 2008 at 5:15 PM, Mark [EMAIL PROTECTED] wrote: could not find a function for it. Will be

[jQuery] Re: jQuery allow encoding into json?

2008-06-05 Thread Karl Rudd
Woops, sorry, wrong direction. You want to produce a string version to stuff into the field. The method I suggested pulls it's data from a form into a JSON form (but not the string you're looking for). Try the stringify method from here: http://www.json.org/js.html Karl Rudd On Fri, Jun 6,