Password field size : Password « Form Control « JavaScript DHTML






Password field size

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








Related examples in the same category

1.Get text input max Length
2.Password Protecting a Page
3.Methods and Properties of the Password Object
4.Demonstrates password field and hiden field
close