Stupid json question
Stupid json question
I have a json response, but I cant access the CODE field. How can I access it?
$.ajax({
url: "AJAX.pgm",
async : false,
cache: false,
dataType: "json",
data:{My data
},
success: function($result){
if ($result.ENXXLK.CODE(getting undefined) == "900") {
ENXXLK
:
[{MESSAGE:Record owned by AUSER, SCOWNR:AUSER, CODE:900}]
0
:
{MESSAGE:Record owned by AUSER, SCOWNR:AUSER, CODE:900}
CODE
:
"900"
MESSAGE
:
"Record owned by AUSER"
SCOWNR
:
"AUSER"
Topic Participants
tydavisty
jakecigar
jtara-jquery