AJAX jQuery PHP Return Value
data.php
echo json_encode($myArray);
display.php
$.ajax({ url: ‘/my/site’,
data: {action: ‘test’},
dataType: ‘json’,
type: ‘post’,
success: function(output) {
alert(output);
}
});
http://stackoverflow.com/a/13366307
Answer:AJAX jQuery PHP Return Value https://t.co/SnEKWjNQ3U
— ศรรามไงจะใครล่ะ❤️ (@sornram9254) March 21, 2016