{'id_user':'1', 'time':'123456340', 'message':'Da, privet'} {'id_user':'145', 'time':'123456123', 'message':'Privet'} these lines come back from
each(result, value){ } inside the loop, I want to get the value.time value - but writes underfined
{'id_user':'1', 'time':'123456340', 'message':'Da, privet'} {'id_user':'145', 'time':'123456123', 'message':'Privet'} these lines come back from
each(result, value){ } inside the loop, I want to get the value.time value - but writes underfined
.
JSON.parse( value ).time $.ajax() method there is a hack! You need to add the property: dataType: 'json' and the data in the function will come as a json object. - lampaSource: https://ru.stackoverflow.com/questions/293472/
All Articles
console.log()says - lampa