I’ve got a normal password field from which I would like to “get” the masked value – yep, that ugly ********** obfuscated value.
HTML:
<input type="password" name="password" value="" id="password"></input>
JS/JQ DOM:
$("#password").val(); // Password in cleartext
If you mean that you want a string that contains as much
*as the number of characters you inserted in a password field you could do: