开发者

how to tell chrome not to offer suggestions for a text box

Is there a flag you can put on an input element that tells Chrome (or any browser) not to offer sugg开发者_开发问答estions for that input box?


Set the autocomplete attribute to off on the input element (see here):

<input type="text" name="input1" autocomplete="off" />

You can also set this attribute on the form element itself (see here).


add the attribute autocomplete="off" in the input text

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜