Joined
·
2,853 Posts
I have this working,
this.setSrc(http://websitelink/images.jpg);
Now, I did make the url http://websitelink/images.jpg listed in JSON,
Now how can I change that code?
I want it to be like this:
this.setSrc(---json variable---);
Example of my JSON:
{"aaData":[
{"image":"http://websitelink/images.jpg","name":"picture1"}
]}
this.setSrc(http://websitelink/images.jpg);
Now, I did make the url http://websitelink/images.jpg listed in JSON,
Now how can I change that code?
I want it to be like this:
this.setSrc(---json variable---);
Example of my JSON:
{"aaData":[
{"image":"http://websitelink/images.jpg","name":"picture1"}
]}