Giter Site home page Giter Site logo

toxxic / jquery.showpasswordtrigger Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 0.0 132 KB

A jQuery plugin that can show value of password fields in different ways: when the field has mouse over it, when the field has focus, or when linked element (checkbox, button, ...) is clicked.

License: MIT License

JavaScript 100.00%

jquery.showpasswordtrigger's People

Contributors

toxxic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

jquery.showpasswordtrigger's Issues

Changing the button text

Awesome plugin, so easy to get going. Just thinking it would be really handy to be able to change the text on the reveal button.

eg. Show / Hide according to the state

Lost focus in IE9

http://jsfiddle.net/cT8hZ/2/ -- when I write to the password input and the mouse leaves the box the box loses focus and I cannot continue writing.

Workaround: I solved the problem with:

// IE retard needs some time before focus can be set.
if (isIE())

to

// IE retard needs some time before focus can be set.
if ($.browser.msie)

Problem is that $.browser is deprecated and it may be removed as of jQuery 1.8.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.