Is there a known way to have a textarea with the password type?
问题 So I am currently trying to get a textarea with the password type (actually like an input). I've try to create my own font (with only black points) but it's a bit hard... I've tried some Jquery but that was not concluant either. Thanks for your help. 回答1: This post: How to make a Textarea act like a password field mentions using the keydown event to replace things in the box with whatever you want. Of course, you'll need to store the entered text in some javascript variable at the same time.