-
Member
need help with JavaScript
I am trying to write a JavaScript that checks (and prompts the user, if the password is invalid) that the password length is between 4 to 10 characters, and the password contains only numbers and characters.
Please help!
<form action="" method="post">
<table border="1" bgcolor="#efefef" width="100%">
<tr>
<td align="right">Password:</td>
<td><input type="password" name="password" size="50" maxLength="10"> <font
size="-1" color="red">Password length must be 4 to 10 characters</font></td>
</tr>
</table>
</form>
-
Ultimate Member
Improvise - Adapt - Overcome
SafeSearch is off
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|