簡(jiǎn)單有效的解決360瀏覽器自動(dòng)填寫input的問題
所屬欄目: 網(wǎng)站開發(fā) | 更新時(shí)間:2017-11-3 | 閱讀:5023 次
原理是,當(dāng)密碼的input獲取焦點(diǎn)的時(shí)候,讓它變?yōu)槊艽a輸入框。
代碼: <input type="text" name="password" onfocus="this.type='password'" autocomplete="off"/>