Get text input max Length : Password : Form Control : JavaScript DHTML examples (example source code) Organized by topic

JavaScript DHTML
C++
PHP


JavaScript DHTML  »  Form Control   » [  Password  ]   
 



Get text input max Length

Please note that some example is only working under IE or Firefox.

    
<html>
<body>
<input type="password" id="myText">
<script language="JavaScript">
    document.getElementById("myText").maxLength = 10;
</script>
</body>
</html>

    
      
      
Related examples in the same category
1.  Password field size
2.  Password Protecting a Page
3.  Methods and Properties of the Password Object
























Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.