Сообщение от Poznakomlus
|
$.post('request.php', function (result) {
console.log(result)
}, 'json');
в пыхе
echo json_encode($stat['data']);
die;
|
Попробовал. Ответ undefined.
$.post('request.php', function (result) {
objJS = result;
}, 'json');
console.log(objJS);