$("#password-show-button").mouseup(function () { $("#password").attr("type", "password"); }); $("#password-show-button").mousedown(function () { $("#password").attr("type", "text"); });
How to View Toggle Password On and Off using jQuery
Learn how to toggle password field on and off using jQuery the easy way
Created on Nov 07, 2021
•24 views
If you like our tutorial, do make sure to support us by being our Patreon or buy us some coffee ☕️
Load comments for How to View Toggle Password On and Off using jQuery
PostSrc Code Components
Collection of Tailwind CSS components for everyone to use. Browse all of the components that are right for your project.
View ComponentsSponsors 👑
+ Add YoursOther Code Snippets
All Snippets
How to Install Supervisor in Ubuntu for Laravel Project
8 months ago

How to add multiple classes to a ReactJS Component?
3 months ago

How to Pass Data From Controller To Views in Laravel 8
10 months ago

How to Set Up BrowserSync Live Reloading in Laravel 8
10 months ago

How to Bulk Insert Using Eloquent ORM In Laravel
6 months ago

Testing Email Into Laravel Log for Local Development
9 months ago