remove text box drop down suggestions

I have a text input where people type and send text. I don't want the text box to have a drop down box with suggestions based on previous inputs. How do i remove this textbox drop down box? (I know its gonna be a simple 1 line of code but I can't find it :P)


Solution 1:

Try this attribute in your input tag:

autocomplete="off"

Solution 2:

This should do it

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