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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Closing The Browser

Status
Not open for further replies.

FontanaS

Programmer
May 1, 2001
357
US
I have a button on the bottom of my web page
The code is -

</b><input type="submit" name="action" value="Close"><p><br>

When the user selects the button, I want the browser to close. Is there a way to do that?

I know I would put the code in here

SELECT CASE DoWhat
CASE "Close"
*********************
END SELECT

Any suggestions would be greatly appreciated.
THANKS!
 
You can use Javascript's

self.close()

to close the browser window...

-L
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top