I'm using a JSON request to get some data. This data will be used in a dinamic page. The doubt is after making a xmlhttp request i need the page to understand the code. I'm using
if (this.readyState == 4 && this.status == 200) {
var myObj = JSON.parse(this.responseText);
for (x in myObj.data) {
document.write(''+ myObj.data[x].url +'');
}
}
Help making a JSON request to work
in Banner Animation
Posted
Hi,
I'm using a JSON request to get some data. This data will be used in a dinamic page. The doubt is after making a xmlhttp request i need the page to understand the code. I'm using
For the JSON
But it isn't correct, can anyone help me or point to a good JSON tutorial
Thanks