[thelist] On Submit Close Window

Surojit Niyogi saniyogi at mail.utexas.edu
Thu Mar 8 00:40:53 CST 2001


this may be a silly solution but you could do the following

-assuming you have a parent window opening the popup and you want to
redirect the user to another URL from the popup

e();">insert text here</a>

otherwise, you just need the window.close(); function inside to close the
window.  I suggest you pair it with a window.opener.focus(); so that the
focus is on the opener window rather than another local application the user
is on (but it all depends) :)

Hope this helps (at all)!


----- Original Message -----
From: "J. Ross Dishner" <ross at designcc.com>
To: <thelist at lists.evolt.org>
Sent: Wednesday, March 07, 2001 6:56 PM
Subject: [thelist] On Submit Close Window

> I seem to remember a simple addition to a link tag that automatically
> closes the popup window the link is featured in. Any ideas?
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !

More information about the thelist mailing list