Mega Code Archive

 
Categories / JavaScript DHTML / Form Control
 

Get text input max Length

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