Guest User

Untitled

a guest
Dec 11th, 2015
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function passwordStrength(){
  2.     var password = document.getElementById("password").value;
  3.     var passwordStrength = document.getElementById("passwordStrength");
  4.     if (password.length < 5){
  5.         passwordStrength.innerHTML = 'Senha fraca';
  6.     }
  7.     if (password.length >= 5){
  8.         passwordStrength.innetHTML = 'Senha forte ou não, talvez, apenas um teste! B*TCH!';
  9.     }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment