using json like
( {"Records": [ {"firstname":"N ancy","lastname ":"Davolio" } ], "RecordCount":" 1" } )
and jquery like:
$.ajax({
....
success: function(json, status) {
if(json.Records ){alert("firstn ame= "+json.Records. firstname );}
....
I can retrieve values for firstname if I use the reference spelled out
is there a way to get it by numerical position, something like:
if(json.Records ){alert("firstn ame= "+json.Records. 0 );}
except it would work .. :)
thanks in advance
( {"Records": [ {"firstname":"N ancy","lastname ":"Davolio" } ], "RecordCount":" 1" } )
and jquery like:
$.ajax({
....
success: function(json, status) {
if(json.Records ){alert("firstn ame= "+json.Records. firstname );}
....
I can retrieve values for firstname if I use the reference spelled out
is there a way to get it by numerical position, something like:
if(json.Records ){alert("firstn ame= "+json.Records. 0 );}
except it would work .. :)
thanks in advance
Comment