01.
<html><head><title>(Type a title
for
your page here)</title>
02.
03.
<script type=
"text/javascript"
>
04.
function
make_blank()
05.
{
06.
document.form1.type.value =
""
;
07.
}
08.
</script>
09.
10.
</head>
11.
<body >
12.
13.
<form name=form1 method=post action=
'test.php'
>
14.
<b>Type</b><input type=text name=type value=
'Enter your user id'
onclick=
"make_blank();"
>Enter User ID
15.
<input type=submit value=Submit> </form>
16.
17.
</body>
18.
</html>