Oh okay... guess I wasn't be helpful then ;o) I'll go back to what I was doing :oD
Mark On 12/7/06, Andrew Scott <[EMAIL PROTECTED]> wrote: > > > > > 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: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf > Of Mark Ireland > Sent: Thursday, 7 December 2006 3:09 PM > To: cfaussie@googlegroups.com > 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? > > > > > > -- E: [EMAIL PROTECTED] W: www.compoundtheory.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---