# JQuery: getJSON not working at all

I want to use the getJSON-Method in jQuery, but in most cases it doesn’ t seem to work, even when I use demo files like from there

It doesn’ t work local (XAMPP) or on my webspace. When I debug it with Fiddler, I can see that the HTTP-Request is correctly executed but nothing happens on the page.

The only script I got working is from this site

\$.getJSON('http://www.highcharts.com/samples/data/jsonp.php?filename=aapl-c.json&callback=?', function(data) {


It doesn’ t work anymore if I download that file(http://www.highcharts.com/samples/data/jsonp.php?filename=aapl-c.json&callback=?) and place it in the same directory as the js file which is executing the getJson Method.

Adding “&callback=?” in case the request is being trated as a crossdomain request didn’t help either.

I really don’ t know what the problem might be.