Password field size : Password « Form Control « JavaScript DHTML
- JavaScript DHTML
- Form Control
- Password
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