File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes window.opener  doesn't work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "window.opener  doesn Watch "window.opener  doesn New topic

window.opener doesn't work

colin shuker
Ranch Hand

Joined: Apr 11, 2005
Posts: 743
I've got an .htm page that submits a form to another .htm page.
Inside that .htm page, when I try to get the parameters passed using,
the Javascript console on Firefox browser keeps saying:
"window.opener has no properties"
It doesn't make sense, I've used this before with no problems.

However, the first .htm page is in a frame inside frameset.htm
So possibly its regarding frameset.htm as its opener.
I tried using window.opener.leftFrame, but still same reply.

Can anyone help?

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60059

window.opener is only meaningful in windows opened via

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
colin shuker
Ranch Hand

Joined: Apr 11, 2005
Posts: 743
Ah, I see, thats why it worked in my other site.
So how can I grab the parameters that were submitted?

I agree. Here's the link:
subject: window.opener doesn't work
Similar Threads
displaying file in iframe
window.opener.document.getElementById not working
window.opener not working for FIREFOX.
problem with the popup
popup window changed to internal iframe. problem using window.opener