I know there are a lot of JavaScript solutions, but is there an HTML5 method of having a text input with autocomplete? The datalist element is almost what I\'m after, except
HTML5 has an autocomplete
attribute which can be specified as either on
or off
in a field.
Here's an example:
The way it works is that the values that you submit the first time will be suggested to you on subsequent times you visit this page on keyup
of each field.
Other factoids about autocomplete
from W3Schools, don't hate in this case as it does cover the basics: