I have a jQuery app that dumps a film catalog in various ways. I develop with Internet Explorer, checking against Chrome and Firefox if the app is to be available to others.
Yesterday, I rebuilt my workstation to use Windows 10 (from 7), which replaces Explorer with Edge. The code that I had finished the day before (and posted on the web) no longer runs under Edge (or Chrome). In both cases, the $.getJSON call fails. JSONLink Pro confirms that the JSON file is, as the day before, just fine.
"Error requesting page dbMovies_short.json"
I replaced my own code with this from the jQuery API documentation:
var jqxhr = $.getJSON( "dbMovies_short.json", function() {
console.log( "success" );
})
.done(function() {
console.log( "second success" );
})
.fail(function() {
console.log( "error" );
})
.always(function() {
console.log( "complete" );
});
jqxhr.complete(function() {
console.log( "second complete" );
});
No difference. Console log shows: "error, complete, second complete". "..._short.json" is a four-item version of the full data file.
I have been using jQuery 1.11.3. When that failed today, I switched to 1.12.0. No change.
Any suggestions?