I have a strange problem in Internet Explorer with Javascript. In every browser i did the test the javascript is enabled, but it seems to run only after i pres the F12, running it in debug mode. And what is more confusing, after starting the IE debugger everything is working as suppose to. Any ideas what it could be ?
相关问题
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- How to fix IE ClearType + jQuery opacity problem i
- void before promise syntax
- Keeping track of variable instances
If you're calling:
or any related method of console without having checked if
window.console
exists, the script will fail silently. Opening the console leads towindow.console
existing, which allows the script to continue execution.Add
"window.console && "
before your calls toconsole
: