Dynamically modify the input box password to show hidden?

I want to click to show password and hide password, why mine can"t show

clipboard.png

clipboard.png
how can I dynamically show and hide passwords?


solved is that I am too lame

Menu