Meaningless Drivel is fun!
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: 750
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: 63865

window.opener is only meaningful in windows opened via

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

Joined: Apr 11, 2005
Posts: 750
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
It's not a secret anymore!