$("#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
•122 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
Set Default Timestamp in Laravel Migration
1 year ago

Laravel Inertia Pagination Component
7 months ago

Use Alpine JS Intersect Plugin Instead of Defining Intersection Observable
1 year ago

How to Create Custom Error Pages for Next Js
11 months ago

How to Disable Timestamp in Laravel
1 year ago

Laravel Inertia Nav Link Component
7 months ago