user3162145 user3162145 - 2 years ago 70
jQuery Question

How to Display a String like Password ****** in jQuery

Is there any way to output/display a user input like Password such as ** or small circles? let say a user inputs "Maraton" how can I represent it as * in the page not in the

? I am not talking about input type!

Answer Source
<input type="password" name="any" />

Update: Based on your comment

suppose your div where you want to show your password:

<div id="pass"></div>

Next your javascript code

name = "maraton";

var element=document.getElementById("pass");
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download