Chrome ignores autocomplete=“off”

后端 未结 30 1485
礼貌的吻别
礼貌的吻别 2020-11-22 00:42

I\'ve created a web application which uses a tagbox drop down. This works great in all browsers except Chrome browser (Version 21.0.1180.89).

Despite both the

30条回答
  •  清酒与你
    2020-11-22 01:18

    Seen chrome ignore the autocomplete="off", I solve it with a stupid way which is using "fake input" to cheat chrome to fill it up instead of filling the "real" one.

    Example:

     
    
    

    Chrome will fill up the "fake input", and when submit, server will take the "real input" value.

提交回复
热议问题