Close Window Script
iWebBuddy.com :: iWebBuddy :: Tutorials :: Coding Tutorials
Page 1 of 1 • Share •
Close Window Script
Here are two codes that you can use to close a window.
Close Window Link :
You will see a link on your html page if you use this code, and if you click it, there would be a pop up that asks you if you would like to close your window.
Close Window Button :
Here is the code you can use to close a window. You will see a button on your html page,
and if you click it, there would be a pop up that asks you if you would like to close your window.
Close Window Link :
- Code:
<a href="javascript:window.close()">Close Window</a>
You will see a link on your html page if you use this code, and if you click it, there would be a pop up that asks you if you would like to close your window.
Close Window Button :
Here is the code you can use to close a window. You will see a button on your html page,
and if you click it, there would be a pop up that asks you if you would like to close your window.
- Code:
<form><input type=button value="Close Window" onClick="javascript:window.close()"></form>

Marc- Administrator

- Posts: 321
iCoins: 643

Permissions of this forum:
You cannot reply to topics in this forum











