在用戶輸入框前增加下面的輸入框,用樣式設置成隱藏效果,用於保存填充的用戶名、密碼;
<input type="text" name="hide_name" value="隨便" style="position: absolute;z-index: -1;" disabled autocomplete = "off"/>
<input type="password" name="hide_pwd" value=" " style="position: absolute;z-index: -1;" disabled autocomplete = "off"/>