get variables from object with jquery or javascript -
this question has answer here:
there big object in jquery script, , want extract (get variables. figure need use ".". example:
data.0.name
but in case not work. attached images examples. how can "code" variable?
0 not valid identifier, need use index notation:
data[0].code
Comments
Post a Comment