How to Create show hide password using jQuery or Javascript

In this post you will learn how to create show hide password functionality using jQuery and you will also lean how to create show hide password functionality in javascript.
In the most of the website’s login and register page reducing type of error while entering password in textbox we can show password after entering password. If we show password then we can reduce type of error. For showing password, I have used jquery. With the help of jquery we can show entering password and hide entering password on eye icon click event. I have used jquery attr() method for show and hide password. This functionality is very useful for any website login or registration page.