When I type the username and password in my login div a popup at the top of the browser appears(Key) and allows us to save the id and password
How do I restrict the browser and not save the Password? I already applied the autocomplete and onfocus="this.removeAttribute('readonly');"
strategy, but it is not working for me.
<input type="text" class="form-control input1 input-lg"
autocomplete="off" readonly
onfocus="this.removeAttribute('readonly');"
maxlength="16" id="loginId" placeholder="Enter Username"
onkeypress="return isAlphaNumeric(event)"/>
<input type="password" class="form-control input1 input-lg"
autocomplete="off" readonly
onfocus="this.removeAttribute('readonly');"
onkeypress="return isAlphaNumericWithSpecial(event)"
id="password" placeholder="Enter Password" maxlength="15" onfocus="this.removeAttribute('readonly');"/>