Introduction - If you have any usage issues, please Google them yourself
Enter a password, key input detection in the keypress function, if it is a graphic character showing the asterisks. And save the characters you typed as global variables, when the input del or backspace to remove global variables and asterisk when the input to enter or click on the confirmation, began to compare the type of global variables values and password, of course, the user name to the corresponding password