Mega Code Archive

 
Categories / JavaScript DHTML / Form Control
 

Password field size

<html> <body> <input id="yourPass" type="password"> <script language="JavaScript">     document.getElementById("yourPass").size = 8; </script> </body> </html>