html代码: <input list="students"> <datalist id="students"> <option value="Lily"> <option value="Lucy"> <option value="Jim"> </datalist> 效果如下:
链接:https://www.jianshu.com/p/357ac299481b