View Full Version : link for closing window

11-17-2004, 10:47 PM
how can I use a link to close a window
<td>4.<a href="doc2.htm"target="dynamic">Refresh the page</a></td></tr>
<tr><td>5.<a href="">Exit</a></td></tr>

11-18-2004, 12:19 AM
<a href=" javascript:self.close();">Close Window</a>

And remember, you can't close windows that weren't opened by javascript.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum