Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

tajihiro

macrumors newbie
Original poster
Sep 3, 2010
1
0
I set datasource on url http://xxxx/data/data.json, then dashcode can read datasourse successfully.

I would like to read its json data from other Javascript file I wrote.
It could read datasource object like below, probably. it shows data on List layout.

var ds = dashcode.getDataSource('dataSource');

But I don't know how to get the data itself from Javascript file.
Does anyone can tell me how to get the data in json file?
I would like to refere data from Javascript code.

Please help me.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.