Back to index | Fork me on github

jquery-showpassword

A jQuery (> 1.3.0) plugin that allows users to trigger the transformation of a password field into a cleartext field and vice versa from a DOM event.

© Copyright 2012 Christophe Pollet

Licensed under the MIT License (http://www.opensource.org/licenses/mit-license.php)

Demo

See Example

Usage

  1. Link to jQuery
  2. Link to showPassword
  3. $(selector).showPassword(options);

$(selector) returns the element that triggers the switch when clicked.

Options

options are:

Example

$(selector).showPassword({
  options1: ...,
  options2: ...,
  ...
});