开发者

Disable Textbox suggestions

开发者 https://www.devze.com 2023-03-10 05:23 出处:网络
Hi all you all have experienced that when you use a开发者_开发百科textbox again and again by writing something in it and submitting the values the textbox starts to give you suggestion on the onfocus

Hi all you all have experienced that when you use a开发者_开发百科textbox again and again by writing something in it and submitting the values the textbox starts to give you suggestion on the onfocus event based on previous written values. Can we disable this attribute of the textbox that it shouldn't suggest previous values?


autocomplete="off" add this as attribute to your control e.g.

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


You can try this code

<input autocomplete="nope" name="clent_email" id="clent_email" type="text">

change autocomplete="off" to autocomplete="nope"

0

精彩评论

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