I'm not totally up to speed on json, but doesn't it have to be eval() 'd ?

Mark

On 12/7/06, Mark Ireland <[EMAIL PROTECTED]> wrote:
>
>
>
> 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 [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