Add password show and hide toggle using jQuery
Add view toggle for all password fields using jQuery $(‘input[type=password’).each(function(index){ $(this).addClass(‘password-‘ + index); $(this).wrap(function() { return “”; }); $(‘.password-container’).css(‘position’,’relative’); var style = { “position” : “absolute”, “right” : “7px”, “top” : “5px”, “background-color” : “#3fa457”, “color” : “white”, “font-size” : “10px”, “padding” : “5px 10px”, “border-radius” : “5px”, “cursor” : “pointer”, “text-transform” : “uppercase”, “width” […]
Read more