Jump to content
Sign in to follow this  
ozmike

problems with $oIE.document.parentwindow.eval

Recommended Posts

ozmike

Hi

I'm getting this error , I think its IE10 issue, works on IE8

C:devAutoIt : ==> The requested action with this object has failed.:
$oIE.document.parentwindow.eval("alert('test');")
$oIE.document.parentwindow.eval("alert('test');")^ ERROR
 
#include <IE.au3>

$oIE =  _IECreate("about:blank")

$oIE.document.parentwindow.eval("alert('test');")
exit
 
Edited by ozmike

Share this post


Link to post
Share on other sites
ozmike

I have a work around for IE10 - create some HTML tag eg a div - and add and eval method to it..

 

javascript..
var x=document.getElementById(""myIE10EvalWorkAroundDIv"");
   x.IE10Eval= function( s ) { return eval(s) } ; 

 

full work around

'?do=embed' frameborder='0' data-embedContent>>

Can anyone confirm if

$oIE.document.parentwindow.eval - works on IE10? 

Edited by ozmike
  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×