I am fairly new to JSON and jquery and javascript. Using this in php. I have a script that is being called by AJAX that is returning the following when I run console.log
var resp = $.parseJSON(data);
console.log(JSON.stringify(resp));
Returns the followingin the console.:
{"status":"OK","action":["SHIPADDPOST","SHIPADDPOST=Shipment saved ADD"],"data":{"shipmentId":"76"},"timestamp":1444069313,"generationTime":"298ms"}
My question is the following: How can I retrieve (in javascript) the value 76 (which is "shipmentID")?