Some ajax issues here in IE9, using jQuery. I currently call jQuery's getScript() from a JavaScript file that is loaded with the page from a <script>. This loads some JSONP data to the window object, then executes a function to parse its members as <option>s in a <select>. (This all works fine in Chrome and Firefox.)
In IE9, however, the getScripts are not callbacking at all (or even demonstrably being called), leaving the page in a half-loaded state. There is also a function that calls the three relevant getScript()s called piGetScripts() which I have tried to make callable by user-click after a certain amount of time has passed, but clicking the element for this does not call it (but will call any alert()s inside of it).
Strangely, if I open the IE JavaScript console and then click the element again, the call succeeds. From that point onward, on subsequent page loads (Ctrl+R) and until the browser is closed, the page loads properly (as it does Chrome and Firefox). The call also occurs properly if the page is loaded with the console open.
Has anyone encountered this before?
I would love to discover the reason for this obscure behaviour.
consolefrom JavaScript, then it throws an exception unless you open Developer Tools, which initializesconsoleobject and it works afterwards. It might be the case. If you are not usingconsole, then I do not know what's happening (although you may give us some more details: the actual code + jQuery version). Good luck!