Rumah  >  Soal Jawab  >  teks badan

javascript - chrome浏览器选择记住密码后,如何避免对所有input标签进行自动填充?

如题题题题题题题题题题题题题题题题题题题题题题题

PHP中文网PHP中文网2750 hari yang lalu521

membalas semua(6)saya akan balas

  • 伊谢尔伦

    伊谢尔伦2017-04-10 15:31:00

    在不支持html5的环境下,可以在不想对其自动填充的input元素之上再添加一个displaynoneinput元素

    balas
    0
  • PHP中文网

    PHP中文网2017-04-10 15:31:00

    给你个简单的建议:开启隐身模式

    balas
    0
  • PHP中文网

    PHP中文网2017-04-10 15:31:00

    html5表单空间的新的属性(autocomplete):
    <input type="email" name="email" autocomplete="off" />

    balas
    0
  • 天蓬老师

    天蓬老师2017-04-10 15:31:00

    给不需要记录的input加autocomplete="off"

    <input type="password" name="password" autocomplete="off">
    

    balas
    0
  • 迷茫

    迷茫2017-04-10 15:31:00

    设置为type=“text”,获取焦点的时候再改为type=“password”

    balas
    0
  • 天蓬老师

    天蓬老师2017-04-10 15:31:00

    楼主,解决了么?求解

    balas
    0
  • Batalbalas