views:

157

answers:

2

Hello. I create a popup using window.open in IE6. Created popup contains a link to other page, which i want to show in the same popup window, but after clicking on the link, the target page is displayed in another brand new popup, so i have 2 popups opened at that moment. How can i make a new page loaded in the same popup that holds a link to it?

p.s.

    a href="somepage.html" target="_self" 
didn't help

A: 

Hi, Using

a onclick="window.location.href = 'http://www.whatever.com/'"

is an option ?

Razvan Stefanescu
A: 

I've used target="window_name" as Residuum advised and it works. thanks a million

diy