Hey all Here is my code:
function SuccessOccur(data, status, req) {
if (status == "success") {
var xml = req.responseText.toString();
console.log(xml);
var jSON = $(xml).find('empResult').text();
var obj = jQuery.parseJSON(jSON);
console.log(obj.firstName);
}
}
Oddly enough I get this as a value:
undefined
If I just put this:
console.log(obj);
Then I would get all the values:

So, what am I missing?
0: Object