0👍
In php print only json
and set header content type
to application/json
then your XHR
response will contain javascript object with your data. There is no need for any json parsing.
Source:stackexchange.com
0👍
In php print only json
and set header content type
to application/json
then your XHR
response will contain javascript object with your data. There is no need for any json parsing.