[Proto-Scripty] Re: Retrieve deeper value from json

2009-06-04 Thread worthy456
I solved it. Typos during debugging can be tricky ^^ and cost me about 1.5h today. On Jun 4, 7:30 am, worthy456 wrote: > Hi, > somehow I am stuck with the following problem. > > var skill = { >     "1": { >         ... >         ... >         ... >      

[Proto-Scripty] Retrieve deeper value from json

2009-06-04 Thread worthy456
h id and cur_lvl twice to be correct, but an error is coming up in the firebug console telling that skill [id].level_dump is undefined. The strange thing is, if i manually enter skill[1].level_dump [0].reqland, then the correct value "1" is shown without any error. Maybe someone kno