remove text box drop down suggestions

moesef picture moesef · Feb 17, 2012 · Viewed 44k times · Source

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)

Answer

DragonWork picture DragonWork · Feb 17, 2012

Try this attribute in your input tag:

autocomplete="off"