Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

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

irt.org | Knowledge Base | DHTML | Q1283 [ previous next ]

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

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>

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.