关闭 chrome 自动填充

<input name="uname" type="text" required autocomplete="off" class="form-control" required=""  placeholder="使用用户名+密码登陆">

<input name="password" type="password"  autocomplete="new-password" required="" class="form-control"   placeholder="登录密码">

在用户名那里添加  autocomplete="off" ,
在密码那里添加   autocomplete="new-password" 

或者在 第一行 添加 也可以。就是第一个 元素上 加入
autocomplete="off"

 

posted @ 2017-07-25 09:58  whmmm  阅读(312)  评论(0)    收藏  举报
//增加一段JS脚本,为目录生成使用