DebugBar Forums
 
 HOME 
 DOWNLOAD 
 BUY 
 DOC / WIKI 
 FORUM 
 CONTACT 
Stay tuned : rss feed

Forum Home


advanced search


You are not logged in.

Announcement

When reporting a problem or a bug
PLEASE tell your OS version (INCLUDING service pack) and installed IE version.
And if possible provide an url where the problem can be reproduced or some code to reproduce it, and all possible additional information.
Thanks.

#1 2010-01-15 14:07:30

hartkrass
New member
Registered: 2010-01-15
Posts: 1

JS problem with window.opener command

Hello,

I´ve installed Windows 7 Professional with the IE 8.
I´m using IETester v.0.4.2

The problem I have, is that I open a new window, that shall get access to its parent window. For this I use window.opener. It seems, that this JS is not supported.

parent Window:

<script type="text/javascript>
   window.open("chk_js.php", "CHK_WIN");
</script>

chk_js.php:

<script type="text/javascript>
        window.opener.document.getElementById('desktop_loading').style.visibility = 'hidden';
        window.opener.document.getElementById('load_msg').innerHTML = '';
        window.close();
</script>

IETester tells me, that typeof(window.opener) is undefined

Bye
hartkrass

Last edited by hartkrass (2010-01-15 14:14:24)

Offline

 

#2 2010-01-15 14:13:34

fabrice
DebugBar Support
From: Toulouse, France
Registered: 2007-11-08
Posts: 946
Website

Re: JS problem with window.opener command

Hi,

This is not yet supported under IETester.

Offline

 

Partners : Debugbar | Mobilier de bureau | Debugbar Wiki | IEForge | Lampes design | La fourmi créative