I have a page that is supposed to autoload instagram tags every 10 seconds. It works fine on my localhost, but completely fails on a server. Here it is on a Dropbox server. When the script is executed after 10 seconds from loading the page, the div that contains the images gets rewritten with the contents of 'script.js'
var refreshId = setInterval(function()
{
console.log("success");
$('#instafeed').load('script.js');
}, 10000);
Edit: I know I said it works with localhost. But I was mistaken, index.html works perfectly fine if ran in a browser as a regular file not on a local server.