I am using the code below for the password field. How can i enhance it so show the word Password and then once the field is clicked and whatever is being entered should be done in the password format where the entries are masked with the dots..
I am using PHP.
Code:
<input type="password" name="password" maxlength="50" id="pass"
onclick="this.value='';" onfocus="this.select()"
onblur="this.value=!this.value?'Password':this.value;" value="Password">
try using jQuery