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>