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.2k times
1 Answers
24
Simply set autocomplete="off"
on your input element.
<input name="yourname" type="text" autocomplete="off"/>
![](../../users/profiles/7175144.webp)
Dylan Stark
- 1,885
- 11
- 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