To show the password while user typing we have to change the type attribute of particular element from password to text.
We use input element with type="password" attribute to take user input as password. The type="password" attribute hide the character and display dot to user. Then simply if we want to show the password to the user we change the attribute type="password" to type="text".
See the Pen Untitled by Nirbhay (@nirbhaysingh) on CodePen.
Showing passwords in plain text is generally not recommended for security reasons, as it can make it easier for someone to steal your password. However, if you still want to show passwords using jQuery, you can use the above code.
No comments :
Please Give Your Feedback