Disable autocomplete via CSS

后端 未结 12 742
渐次进展
渐次进展 2020-12-13 05:18

Is it possible to use CSS to disable autocomplete on a form element (specifically a textfield)?

I use a tag library which does not permit the autocomplete element an

12条回答
  •  悲哀的现实
    2020-12-13 06:10

    I solved the problem by adding an fake autocomplete name for all inputs.

    $("input").attr("autocomplete", "fake-name-disable-autofill");
    

提交回复
热议问题