Why Am I Not Able To Fetch Property Of The Object That I Get From Php?
I am trying to receive data from database based on the name entered by user, everything works fine I do see the value on screen and no error Here is the php code :
Solution 1:
First transform the cleartext response into a javascript object. You have the line already there but commented out it seems, after that:
alert(jsonData["Age"]); //Age
alert(jsonData.Age); //Age
Post a Comment for "Why Am I Not Able To Fetch Property Of The Object That I Get From Php?"