-1

How to delay (about 0.5 second) before change text to password when user type a string into password field in html. Please help me. I am coding web Java with Spring mvc

Pavan Kumar
  • 3,041
  • 22
  • 39

1 Answers1

0

Are you trying to get some kind of android style password field?

Like:
[*************w]

and after half second the last letter disappears resulting in this:
[**************]

I don't remember that being possible, if I understood you very well.
If I didn't than please explain further.

  • Yes, not only last word, but also any word that user input. [w***********] --------0.5s------->[*************] [******w*****] --------0.5s------->[*************] [***********w] ---------0.5s------>[*************] – Nguyen Dang Nhut Tan Jan 23 '17 at 10:41
  • Hmm, I don't think that's possible, I mean all that stuff does a browser. If it is possible, it must require JavaScript. I will do some research and see what I can do, If I succeed I will add another answer. –  Jan 23 '17 at 10:49
  • Thank you so much. – Nguyen Dang Nhut Tan Jan 23 '17 at 10:50