Answers for "how to hide password in input css javascript"

5

how to make a show password button

function myFunction() {
  var x = document.getElementById("*passwordbox-id*");
  if (x.type === "password") {
    x.type = "text";
  } else {
    x.type = "password";
  }
}
Posted by: Guest on March-28-2020
5

how to make a show password button

function myFunction() {
  var x = document.getElementById("*passwordbox-id*");
  if (x.type === "password") {
    x.type = "text";
  } else {
    x.type = "password";
  }
}
Posted by: Guest on March-28-2020

Code answers related to "how to hide password in input css javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language