Reputation: 6556
is there anyway to stop popping up the warning message in IE when trying to execute javascript?
I want some solution which does not need modifying the settings in the IE manually by the user.
Thanks,
Upvotes: 1
Views: 3550
Reputation: 21727
This only occurs when you open local files. And no; there's no way to avoid this.
Or so I thought.. Untill Grant Wagner came by and gave his two cents :)
Upvotes: 2
Reputation: 25941
If the message is only appearing for you when you run the scripts locally and not for your visitors when you upload your scripts to the server, I'd suggest one of three things:
<!-- saved from url=(0014)about:internet -->
). This will force the page to run in the Internet Security Zone and avoid the message you see when you open an HTML file containing script locally.Upvotes: 8