jQuery: What listener do I use to check for browser auto filling the password input field?

Posted by Jannis on Stack Overflow See other posts from Stack Overflow or by Jannis
Published on 2010-06-17T23:54:25Z Indexed on 2010/06/18 0:03 UTC
Read the original article Hit count: 174

Filed under:
|
|
|
|

Hi, I have a simple problem that I cannot seem to find a solution to.

Basically on this website here: http://dev.supply.net.nz/vendorapp/ (currently in development) I have some fancy label animations sliding things in and out on focus & blur.

However once the user has logged in once the browser will most likely remember the password associated with the users email address/login. (Which is good and should not be disabled.)

However I run into issues triggering my label slide out animation when the browser sets the value on the #password field automatically as the event for this is neither focus nor blur.

Does anyone know which listener to use to run my function when the browser 'auto fills' the users password?

Here is a quick screenshot of the issue:

Password Autofill Label Issue

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about form