i am having a simple html text box what i want just as the user type something in it the text should be invisible but the text should be there
<html>
<head>
<title>My Page</title>
<script type=text/javascript>
function hide()
{
document.forms[text].style.visibility = 'hidden';
}
</script>
</head>
<body>
<form name=myform>
<div align=center>
<input type=text size=25 onkeyup=return hide();>
</div>
</form>
</body>
</html>