When I clear my cache and I open a new session of IE, then navigate to the website I’m developing, the javascirpt/jQuery does not run. The site structure shows up fine, without any errors in the F12 console, but everything is rendered without any of my javascript plugins, breaking quite a few elements. Everything works fine in Chrome/Safari/Firefox/Mobile Browsers. Nothing I am outputting in the LOG gets rendered, so I’m assuming that all the JS is not getting run. When I refresh the page, everything works as it’s supposed to. After that, it won’t break until I clear my cache, close IE, and start a new session, like the experience of a first time user.
What could be causing the javascript to not run the first time? I’m having a hard time debugging, or finding similar issues.
javascript libraries I’m using:
- jquery-1.8.2 min
- scrollTo.js
- reveal.js
- slides.js
- qtip.js
EDIT: Here is a link to the JS code I’m using
IE won’t run
console.log()unless the console window is open. So right now, your code will stop at that point on IE. Even thought you have the console window open, I’ve had issues where it just won’t work. Try commenting it out.