Answers for "show password fa-eye javascript"

0

show password fa-eye javascript

$("body").on('click', '.toggle-password', function() {
  $(this).toggleClass("fa-eye fa-eye-slash");
  var input = $("#pass_log_id");
  if (input.attr("type") === "password") {
    input.attr("type", "text");
  } else {
    input.attr("type", "password");
  }

});
Posted by: Guest on September-26-2020

Code answers related to "show password fa-eye javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language