nas-t1
12-08-2006, 03:04 PM
I try to make make "close window" button or link and I used this codes:
<form>
<input type="button" value="Close Window" onClick="window.close()">
</form>
or this one
<a href="javascript:window.close()">Close Window</a>
None of this one works in firefox. Do I have to do some modification to the code? Does someone have other code I can use?
<form>
<input type="button" value="Close Window" onClick="window.close()">
</form>
or this one
<a href="javascript:window.close()">Close Window</a>
None of this one works in firefox. Do I have to do some modification to the code? Does someone have other code I can use?