I’m having real trouble getting a successful response from this url.
I have tried a few other json urls to check my code and they work.
I’ve even run the json from my url in the [jsonlint](http://jsonlint.com/ “JSONLint”) website and it validates fine.
Can anyone help me.
I’ve tried so many variations of things but all with the same response.
$.getJSON( ‘http://arcgisweb.fife.gov.uk/Fife/Nearest/Street.asp?long=-2.8215&lat=56.1904&format=json&jsoncallback=?’, function(data){
if (data.stat==’ok’) {
console.log(data);
}else{
console.log(‘boo hoo’);
}
});