input 禁止自動補全

禁止瀏覽器自動補全input

普通input autocomplete="off"是 密碼框 autocomplete="new-password";如下

<input type="text" autocomplete="off" name="userName"/>

<input type="password" autocomplete="new-password" name="password"/>
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章