Test password strength using jQuery

1
2
/* In yout HTML:
<input type="password" name="pass" id="pass" />
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
When you let users defining their password, it is generally a good thing to indicate how strong the password is. This is exactly what this code do.

The entered password will be evaluated using regular expressions and a message will be returned to the user to let him know if his chosen password is strong, medium, weak, or too short.

#password #jquery #strength #regex


#cesarnog

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.