Hi, Atrix gave an excellent example on this question.
I just wanted to bring up the point that it works great on child browser windows, which are browser windows opened with window.open() If you are talking about closing the main window, then the browser is going to squawk an force the user to answer the question like "The Web page you are viewing is trying to close the window" "Do you want to close the window?" I have yet to find a way around this Ben Johansen - http://www.pcforge.com Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm Latest downloads & List Archives @ http://www.witango.ws -----Original Message----- From: [EMAIL PROTECTED] [mailto:owner-witango-talk@;witango.com] On Behalf Of rich Jasinski Sent: Thursday, October 31, 2002 1:24 PM To: Multiple recipients of list witango-talk Subject: Witango-Talk: Closing a browser window without user clicking Is there a way to close a browser window without the user clicking a button? I have a taf that looks at a table and if there is a value in a field it does a redirect to a page. If the value is not there I want to close the browser. rich ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
