原理是,當(dāng)密碼的input獲取焦點(diǎn)的時(shí)候,讓它變?yōu)槊艽a輸入框。
代碼: <input type="text" name="password" onfocus="this.type='password'" autocomplete="off"/>
!評(píng)論內(nèi)容需包含中文