I want to disable the previously searches from my text input field. You know, the little box that pops up under the search bar with suggestions while you're typing ? Here, I'll attach a screenshot:
Asked
Active
Viewed 1.6k times
1 Answers
34
Simply set autocomplete="off" on your input element.
<input name="yourname" type="text" autocomplete="off"/>
Dylan Stark
- 2,125
- 15
- 23
-
Thanks bro! I knew that was it but for some reason I couldn't get it to work but I got it now. – Richard Rodgers Feb 11 '17 at 23:51