阻止表单自动填充

传统都是序列化获取表单,
防止填充:name 避开 username  password 这些关键词,
 
<input style="display:none">
<input type="password" name="password" style="display:none"/>
<input onfocus="this.type='password'" autocomplete="off" type="text" name="pwd" placeholder="请输入密码" />
原文地址:https://www.cnblogs.com/92xcd/p/9592286.html