Mark,

 

It depends on the data, but usually it is something like this if an label
value array?

 

JSonData['Label'].value

 


Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  8676 4223
Mobile: 0404 998 273

  _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Mark Ireland
Sent: Thursday, 7 December 2006 3:09 PM
To: [email protected]
Subject: [cfaussie] json in js code

 

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?
<http://g.msn.com/8HMAENAU/2734??PS=47575>  






--~--~---------~--~----~------------~-------~--~----~
 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