JQuery hit Internet Explorer ActiveX controls warning? – Solution
The following code is a JQuery javascript which will refresh the captcha image automatically wherever user clicked on it.
The code is working fine in FireFox. However, when i test it in Internet explorer 6 or 7, i hit the following Active X controls warning.
Your security settings do not allow Web sites to use ActiveX controls installed on your computer. This page may not display correctly.Click here for options.
Solution
1) Deploy it to web server – When we test the some JQuery’s features in a local system, IE so call “IE-way security feature” will prompt it as Active X warning. The warning will disappear when it deployed to web server.
2) Use Mark of the Web (MOTW) – We can still suppress or disable the ActiveX controls warning by putting following code before the opening html tag:
......
The above code is call “Mark of the Web (MOTW)”, this is a feature of Windows Internet Explorer that enhances security by enabling Internet Explorer to force Web pages to run in the security zone of the location the page was saved from.
Please visit http://msdn.microsoft.com/en-us/library/ms537628(VS.85).aspx to understand more about Mark of the Web (MOTW).
Open ms word/excel applications without using activeXObject for cross browser
function OpenFile(){
alert (‘Work’);
//would like to modify ActiveXObject with any other object for cross-browser.
var x = new ActiveXObject(“WScript.Shell”);
x.run(‘winword.exe’);
}
//Above code works only in IE. But don’t want to use activeXObject.
//Is there any possibility to open a word file in Internet Explorer
//without using activexobject. Request for a solution.
Deploy it to web server !
brilliant !!!!!!!!!!!!!!!!!!
tnx a lot man
thanks man…. 🙂
Thank you! Thank you! Thank you!
Thanks for putting that memo/reminder up. I’ve already posted links to here on another mis-guide blog.
Hi, when try to add the MOW, I cannot click to open any link on the page.
Any help?
can you send me a copy of your page?