javascript - Hide an input value on the Front end While maintaining the value on the Back -
i trying hide input value. want use input text type sort of password input field. dont want values displayed though. how go hiding value after insertion has been made? values hidden.
i have tried few methods no luck. still need access in jquery/ajax can pass sql password verification. appreciated. thanks
html
<input type=text id=num1 onclick="hidevalue()">
javascript
function hidevalue(){ document.getelementbyid('num1').value.visibility="hidden"; }
you need tell theat password field.
<input type="password" id="num1">
Comments
Post a Comment