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

Q1283 How can I make a form button, that disappears once clicked?

You are here: irt.org | FAQ | DHTML | Q1283 [ previous next ]

Try:

<div id="myDiv" style="position:absolute">
<form>
<input type="button" onClick="if (document.all) {document.myDiv.style.visibility = 'hidden'} else if (document.layers) { window.document.myDiv.visibility = 'hidden';};">
</form>
</div>

©2018 Martin Webb