Forum Moderators: open
For instance, if my return is:
Array
(
[body] => Your not really funny.
[guestName] => bobbonew
)
How do I get the information out of there with jquery?
All I can figure out is:
/* .... */success: function(data){
/*manipulate the return*/
}
And can pretty much do anything with just the return except for putting body and guestName into variables for further manipulation. Any advice?
alert('Your body is: ' + data.body);
But data just has this in it: (if I alert it it says:)
alert(data);
Array
(
[body] => Your not really funny.
[guestName] => bobbonew
)