re: stuck on first time using JSON
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

re: stuck on first time using JSON

From: James Black <planiturthian@gmail.com>
Date: Wed Nov 30 2005 - 16:25:23 CET

I want to take the data from my form, convert it into a JSON object to
transfer to the server.

But, I am still new to javascript, and am having a problem with how to
loop through and build up my object.

I will end up having an array of arrays by the time I am done though, I
believe, since I each student has an id and a grade, and I want to put
all of them into the object.

Is there an example where someone is dynamically building up a
JSONobject from within a loop?

Thank you.
Received on Sat Dec 3 04:33:34 2005