Close Window
June 5th, 2006Many people always come across this issue with popup windows, wanting to give the user a close button so that they can use that instead of the X up at the top.
Just by adding a “a href” tag you can easily and quickly achieve this.
The following code is a sample so customize it to what you need.
<a target="_top" href="javascript:window.close()">Close Window</a>
Developer Center