Javascript Popup window problem?

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
kalpesh
Forum Commoner
Posts: 54
Joined: Sun Sep 21, 2008 5:04 am

Javascript Popup window problem?

Post by kalpesh »

hi,
i call web page on my browser.From that page i call one Popup window by javascript
function window.open
Now i click on one of the href link on that popup window which should open in browser window
and that popup window should be closed.

I don't know how to do this.
Please help me.
Thanks in advance.
User avatar
Darhazer
DevNet Resident
Posts: 1011
Joined: Thu May 14, 2009 3:00 pm
Location: HellCity, Bulgaria

Re: Javascript Popup window problem?

Post by Darhazer »

User window.close to close the window
and window.opener to refer to the main browser, hence to load the links in it.
Post Reply