View Full Version : Closing multiple popup windows

01-08-2007, 07:46 AM

I am having an html page which contains a list of entries with a checkbox for each entry. On clicking an entry, a new popup will open with the profile details of that entry. In the html page, multiple entries can be selected using the checkboxes and deleted. However, when if I already have a few popup windows open, and I delete a few entries in the html page and delete them, the associated pop windows won't close. Can someone tell me how I can achieve this ?


01-08-2007, 09:00 AM
This one is pretty vague but I will take a run at it.

I think what you want to happen is when you click open from one page you also want to close it from that same page. This is possible using javascript.

//opening function
var o = window.open(some_url);

//closing function