D
DL
Hi,
In IE7, I use WScript.Shell to open up a Firefox window, here's how I
tried to use a var to reference this new window named windowB like
WSH = new ActiveXObject("WScript.Shell");
windowB = WSH.run(" {firefox executable here + an html file}");
Now, how could I execute a javascript function in windowB from the
opener? The windowB has opened up an html file, which has a
javascript called nameSelf, the content of which is alert("I'm window
B").
My attempt to call it from the opener like windowB.nameSelf() failed.
Err msg: object does not support this property or method. How to? (If
possible).
Thanks.
In IE7, I use WScript.Shell to open up a Firefox window, here's how I
tried to use a var to reference this new window named windowB like
WSH = new ActiveXObject("WScript.Shell");
windowB = WSH.run(" {firefox executable here + an html file}");
Now, how could I execute a javascript function in windowB from the
opener? The windowB has opened up an html file, which has a
javascript called nameSelf, the content of which is alert("I'm window
B").
My attempt to call it from the opener like windowB.nameSelf() failed.
Err msg: object does not support this property or method. How to? (If
possible).
Thanks.