Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Popup window question

Status
Not open for further replies.

4345487

Programmer
Dec 31, 2002
132
US

Hi,

I search this forum but find no answer so here it goes.

I have a popup window that I want to close when the user clicks the X icon only. Is any way to detect if the user click the X icon the onUnload works but I have links in the page to do search pagination and when I click in one of the links the window also closes.

Thanks
 
Maybe a hidden field would be a solution.

The links, before closing the window, would store a value in the field that can be checked on unload.

Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top