IE7, and possible IE8, will only run *some* JavaScript
I'm experiencing a problem on a test-machine which is running in开发者_运维知识库 a quite restrictive environment.
I only have the option of running IE 7 on this machine, which is used for testing purposes. And I cannot install anything on it. I don't have access to Developer-tools in Internet Explorer, so I can debug in any way, except maybe using "javascript:" in the addressbar.
The Problem
On the page I am displaying in IE 7 on this machine i use the jQuery 1.8 Datepicker widget. This loads up fine, and all settings appear to be as they are supposed to.
I can toggle if it is displayed on not using a button. But when the widget is displayed, and I attempt to page between months, nothing happens. It is not a problem in production nor in Development. Only on this test-machine.
Does anyone have a clues as to what might be the restricting factor that blocks some JavaScript, but not other JavaScript.
My initial thought is it is the browser.
If anyone has some experience with this, I'd love to hear your input. If you have an idea what might be the problem let me know :-)
Thanks in advance!
what happens when you go to the jqueryUI site and test it there? do you have the same problems? it could be the security restrictions / policy on IE itself, but you'll only know if you test it against another site hosting the same code.
is all your code locally hosted or do you rely on some cdn-based scripts? do you have any antivirus on the machine? perhaps that's interfering.
the only other thing i could think of would be an issue with query strings on the end of script calls being cut off/disallowed by the browser... i know that some plugins are loaded via query string with certain js frameworks.
精彩评论