Skip to content Skip to sidebar Skip to footer

Error While Fetching Elements Of An Iframe Inside Hta

We are trying to acheive automation of an Intranet site. We are using HTA along with java script for this purpose. Instead of opening the site in browser, we are using an Iframe, w

Solution 1:

Changing x-ua-compatible to point to IE 11 resolved the issue. Earlier it pointed to IE9.

Solution 2:

not sure why you did application="no" you should do application="yes" to enable the iframe and parent hta window to communicate and allow your hta to work with the iframe dom. however, that is from my experience with HTAs while working with IE6/7 and that was a long time ago

see more at msdn:

https://msdn.microsoft.com/en-us/library/ms536496(v=vs.85).aspx#Security

Post a Comment for "Error While Fetching Elements Of An Iframe Inside Hta"