Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable Textbox suggestions

Tags:

Hi all you all have experienced that when you use atextbox 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?

like image 583
Awais Qarni Avatar asked Jun 01 '11 17:06

Awais Qarni


1 Answers

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

<input type="text" autocomplete="off" />
like image 182
Senad Meškin Avatar answered Oct 13 '22 12:10

Senad Meškin