jQuery Plugin To Show / Hide Password In The Form

File Size: 3.8 KB
Views Total: 2176
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
jQuery Plugin To Show / Hide Password In The Form

Just another jQuery password visibility toggle script which allows the user to show / hide password by clicking on a checkbox. The goal of this plugin is to change the password field to a normal text input when you select the 'Show Password' checkbox.

See also:

How to use it:

1. Load the latest version of jQuery library in your html page.

<script src="//code.jquery.com/jquery-3.0.0.slim.min.js"></script>

2. Download and place the core JavaScript after jQuery library.

<script src="js/script.js"></script>

3. Create a 'Show Password' checkbox beside your password field. That's it.

<input type="checkbox" id="showHide"> Show Password

This awesome jQuery plugin is developed by NinaKong. For more Advanced Usages, please check the demo page or visit the official website.