Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q1299 Why does Internet Explorer not close the window with this button?

You are here: irt.org | FAQ | JavaScript | NotABug | Q1299 [ previous next ]

Affects: Internet Explorer 5.x 5.x

close is a reserved word, rename the form

<form name="close">
<input type="button" value="Close" onClick="window.close()">
</form> 

should be:

<form name="closeIt">
<input type="button" value="Close" onClick="window.close()">
</form> 

Submitted by Michel Plungjan

©2018 Martin Webb