Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

108
Views
How do I add a Javascript eventListener to a password field for browser-generated password?

I am building a password strength measure tool. Obviously, I need to assess the password every time it changes (onkeyup does the trick in almost every case). Except…

Modern browsers offer to autogenerate passwords.

System-generated password

If a user accepts a browser-generated password, how do I capture that event? It's not a keyup (obviously). But, it's also not a change event. How do I detect acceptance of the system-generated password so I can update the password strength measure?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Try using 'input' eventListner on the password field.

field.addEvenlistener('input', ()=>{
    //do something
})
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!