- Feb 22, 2005
- 7,280
- 0
- 0
I have a site that has a frameset, and several frames. One of these frames hosts a search field that currently does a _blank for a target for the results page.
What I'd like is to click something in that search page, and have the page it opens target a frame in the original (opener) window.
I understand because I'm using _blank in my HTML it's not currently possible, so I tried using javascript to open the popup, then target the opener.frames['framename'] in the popup to get back to the original window.
In both IE/Chrome they both open new windows when I click the link in the popup.
Am I missing something obvious? I'm pretty bad with javascript, I honestly don't use it too much.
What I'd like is to click something in that search page, and have the page it opens target a frame in the original (opener) window.
I understand because I'm using _blank in my HTML it's not currently possible, so I tried using javascript to open the popup, then target the opener.frames['framename'] in the popup to get back to the original window.
In both IE/Chrome they both open new windows when I click the link in the popup.
Am I missing something obvious? I'm pretty bad with javascript, I honestly don't use it too much.