Programmatically make datalist of input[type=url] appear with JavaScript
问题 In Chrome and as for now the Datalist only appears when typing or double clicking on the input element, e.g. http://jsfiddle.net/r7Y4v/ I'm trying to make the datalist appear sooner. Ideally I would put a little "dropdown arrow" next to the input that when clicked would make the Datalist appear. I'm looking for a webkit solution. 回答1: I can't find anything in the specification how to do this. Also I noticed that the implementation in current browsers seem to vary quite a bit (click vs dbl