Cybervanes
asked on
jQuery Ajax Function | Parse JSON Returned Data
I'm trying to find the best way to set up jQuery and handle data returned in JSON format from a php script.
sample returned json data: [{ "debugMsg": "html formatted data", "otherData": "more html formated data" }]
anybody have any ideas?
thanks in advance!
sample returned json data: [{ "debugMsg": "html formatted data", "otherData": "more html formated data" }]
$.ajax({
type: 'POST',
url: 'Scripts/FormHandler.php?'+value,
dataType:"json",
success: function(msg){
$('#DebugConsole').prepend(msg.debugMsg).slideDown();
$('#OtherInfo').html(msg.otherData).slideDown();
}
});
anybody have any ideas?
thanks in advance!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER