Simple question, if I have static file like this one(generated JSON using mockJSON web)
http://www.webwrx.sk/clients/data.json.txt
What I need to do with this file to change it to JSONP? Do I need to modify it somehow? How is it different to file like api.flickr.com ?
I have even added () into that file:
http://www.webwrx.sk/clients/data2.json.txt
Still following code wont work:
var params = _.extend({
'method': 'GET',
'url': this.url,
'cache': true,
'dataType': 'jsonp',
processData: true
}, options);
return $.ajax(params);
Thank you for any help.