[jQuery] Sending JSON from client to server

2006-09-13 Thread Chris Domigan
Hi thereI'm just getting my head around the whole JSON thing, so please excuse my ignorance. For a while now I've been successfully fetching JSON data from the server via ajax and using it in jquery. My question regards sending data from the client to the server. The $.post and $.get methods are

Re: [jQuery] Sending JSON from client to server

2006-09-13 Thread Will Jessup
Chris , Sure - just go here http://www.json.org/ and get the JSON library for whatever language you are using. It will take an incoming JSON object and translate it to an array in your language of choice. you can then act on it with (say php) do some stuff, and take your new array (generated

Re: [jQuery] Sending JSON from client to server

2006-09-13 Thread Chris Domigan
Thanks Will, I followed your lead and eventually discovered John's JSON script with stuff like: Object.toJSON(obj), which was just what I was looking for :)Cheers,Chris ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/