i think you could use vbScript and it wouldn't be as difficult....
<html>
<head>
<script language=vbScript>
Sub cmdButton_OnClick
Form1.txtBox.style.visibility = "hidden"
End Sub
</script>
</head>
<body>
<form name=Form1>
<input type=text name=txtBox value="">
<input type=button name=cmdButton value="click me">
</form>
</body>
</html>
and Form1.txtBox.style.visibility = "visible" would make it visible again.
_________________________
"It's better to burn out, than to fade away."