I've searched everywhere but just can't solve this problem:
When i copy the content of the json file locally it works (without callback=?)
However when i do a crossdomain call i get the following error in the console:
Uncaught SyntaxError: Unexpected token :
this is my code:
var url='http://www.motor-forum.nl/json.php?type=json&callback=?';
$.getJSON(url,function(json){
$.each(json.globals, function(i,data){
$("#results").html(data.board_reactid);
});
});
Hopefully somebody can help me out here