Home  >  Article  >  Web Front-end  >  passwordStrength Introduction to the use of password strength detection code based on jquery_jquery

passwordStrength Introduction to the use of password strength detection code based on jquery_jquery

WBOY
WBOYOriginal
2016-05-16 18:01:241087browse

View the example: DEMO Package download
passwordStrength Introduction to the use of password strength detection code based on jquery_jquery

It’s easy to use.

Copy code The code is as follows:

$('#pass').passwordStrength();

XHTML
Copy code The code is as follows:

< p>






Note: The DIV of id#passwordStrengthDiv is used to load the strength image. You can also customize the ID, but when calling To assign a value to the parameter:
Copy the code The code is as follows:

targetDiv : '#ID' / /Customize the ID of the loaded image

Load JS and CSS:
Copy code The code is as follows :





Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn