wood burning stoves 2.0*
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 744
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: 60773

window.opener is only meaningful in windows opened via window.open().

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

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

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: window.opener doesn't work
Similar Threads
problem with the popup
window.opener not working for FIREFOX.
window.opener.document.getElementById not working
popup window changed to internal iframe. problem using window.opener
displaying file in iframe