HTML Select, dynamic option
2016-04-20 04:32:37
2016-04-20 04:27:43
Autor: Sony Santos
https://gigawiki.com/sony/html-select-dynamic-option
Permalink: https://gigawiki.com/4034
categ = soluções, solved
Use datalist (Try):
<input type="text" name="city" list="citynames">
<datalist id="citynames">
  <option value="Boston">
  <option value="Cambridge">
</datalist>

See also:
How to add options dinamically with JS
blog comments powered by Disqus