<HTML> <body onUnload="document.forms[0].reset()"> <form name="form1" method="post" action="" encoding="text/plain"> <p>My Password: <input type="password" name="textfield" value="15151515"size="20"> <input type="button" name="Submit" value="Submit"> </p> </form> </body> </BODY> </HTML>