Discover type password followed by verification code, include the articles, news, trends, analysis and practical advice about type password followed by verification code on alibabacloud.com
The effect is as follows:
Enter Password:
Password strength:
Weak
In
Strong
The code is as follows:
Copy Code code as follows:
Charmode function
Test what kind of charact
The result is as follows: enter the password:Password strength:
Weak
Medium
Strong
The Code is as follows:
Copy codeThe Code is as follows:
// CharMode Function
// Test the category of a character.
Function CharMode (iN ){
If (iN> = 48 iN Return 1;
If (iN> = 65 iN Return 2;
If (iN> = 97 iN Return 4;
Else
Return 8; // special characters
}
// BitTotal Function
// Calculate the total
I forgot the Yahoo password. I want to reset the password. As a result, in the current network environment, I found that I could not see the authentication code that I needed to fill in. It must be seen through abnormal means, this is forcing us to learn high-end technical science to access the Internet.
I did the same thing yesterday.
There are a lot of ways t
Verify password: Can only enter 6-20 letters, numbers, underscoresThe code is as follows:
function ispasswd (s)
{
var patrn=/^ (W) {6,20}$/;
if (!patrn.exec (s)) return false
return True
}
Check ordinary telephone, fax number: You can "+" start, in addition to numbers, can contain "-"The code is as follows:
function Istel (s)
{
var patrn=/^[+]{0,1}
Inadvertently on the Internet to see this formula type of graphics verification code, feel good. I've written another practice.
The code is as follows:
/***/ /**
* Random generation of an addition or multiplication of arithmetic expressions,
* Draw a graphical verification
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.