开发者

How to prevent the default suggest box from showing up?

开发者 https://www.devze.com 2023-02-07 09:55 出处:网络
When I input some text into an input element a d开发者_高级运维efault suggest box shows up displaying previously entered strings. How to prevent the default suggest box from showing up?Use autocomplet

When I input some text into an input element a d开发者_高级运维efault suggest box shows up displaying previously entered strings. How to prevent the default suggest box from showing up?


Use autocomplete attribute with an off value. e.g:

<input type="text" name="text1" autocomplete="off"/>
0

精彩评论

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

关注公众号