Can I use stuff from a json string like this?


var s = 'something';

for (var j in myjson.RECORDCOUNT) {

var id = myjson.DATA.MYVARIABLE[j];

chk = document.getElementById(s + id);

// chk = document.getElementById(s + id.toString());

}

It dont work!



Advertisement: Amazing holiday rentals?
--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to