简体   繁体   中英

How to enable activex controls in ie using javascript

Is it there any way to enable activex controls of internet explorer through javascript ,I searched internet cant find any trusted resources , is it possible to enable activex controls through javascript

The only source which i got can be found here

Thanks In advance

Enabling ActiveX through javascript is not possible. This is a browser level setting.

I don't think there is a way to activate them via JavaScipt or anything like that. I think it used to be a security measure, but I'm not sure.

If you look at MSDN however there is a solution: http://msdn.microsoft.com/en-us/library/ms537508(v=vs.85).aspx If you dynamicaly add controls through JavaScript after the DOM is loaded they get activated right away.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM