简体   繁体   中英

How can I access window.document object from ActiveXObject?

How can I access window.document object from ActiveXObject in InternetExplorer? I'm using C# language for my ActiveXObject.

Thanks Paul.

I think the object being instantiated wouldn't know - from where it is being called.
So, in order to use window.document inside the ActiveXObject, you will have to pass the instance of window.document as a property.

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