Hi, i am newbie of java script. i faced a problem in java script which is when i want to prompt a message box and enable to let user to type their own password. but i found that a problem is when the user type their own password in the prompt box's text box, the text box's text mode is normal but not password mode. So to prevent more security and don't allow other people see the password when typing, what should i do? or have other ways to let me finish this task?

Try the difference:

<INPUT type="text"><br>
<INPUT type="password"><br>
<INPUT type="hidden"><br>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.