Is there any way to load data from a data file (eg a JSON .js file) using jQuery?
eg:
$.get("file:///C:/objectData.js", function() { alert('Load was performed.'); });
At the moment, instead of doing a simple HTTP GET, JQuery appears to be trying to do an OPTIONS request on it, which fails on a file:// URI. I just want to load the data in so that the site can be used in an offline environment (without a web server installed).