javascript - How to save remember password against 2 field -


i having login form :

<div>     <input type="text" id="username" placeholder='username' /> </div> <div>     <select id="username" placeholder='usertype'>       <option>type1</option>       <option>type2</option>       <option>type3</option>     </select> </div>**strong text** <div>     <input type="password" id="password" placeholder='password' /> </div> <div>    <button class="loginsubmit">login</button> </div> 

when login, browser ask remember password. password saved against username in browser.

but password depend on username , usertype.

i want save password against username + usertype.

and when username type , select usertype password stored in browser occur on password field.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -