here is my code, it works fine for certain urls
i have no server side access to these public services
Code:
Ext.data.JsonP.request( {
url:"http://money.rediff.com/money1/current_status_new.php?companylist=17023928|17023929&id=1354690151&Rand=0.6305125835351646",
callbackKey: 'callback',
success: function(response) {
alert('Working');
console.log(response);
},
failure: function(response) {
alert('Not working!');
console.log(response);
}
});
working service
Code:
"http://query.yahooapis.com/v1/public/yql?q=select * from xml where url%3D'http%3A%2F%2Fcloud.tfl.gov.uk%2FTrackerNet%2FPredictionDetailed%2FB%2FBST'"
Failing service (This returns a json response in browser/response tab)
Code:
http://money.rediff.com/money1/current_status_new.php?companylist=17023928|17023929&id=1354690151&Rand=0.6305125835351646
some one please help me in accessing above service, i need to implement cross domain access from native apps
thanks
arun