可以输入也可以下拉选择的select框
支持中文输入查询相似结果后选择
XML/HTML Code
- <div class="demo">
- <p>支持中文输入查询</p>
- <select id="editable-select" class="form-control">
- <option>中国工商银行</option>
- <option>中国建设银行</option>
- <option>中国银行</option>
- <option>ICBC</option>
- <option>CCB</option>
- <option>BOC</option>
- </select>
- <br/>
- <p>支持html</p>
- <select id="html" class="form-control">
- <option>Audi - <small><a href="http://www.audi.com/" target="_blank" rel="nofollow">www.audi.com</a></small></option>
- <option>BMW - <small><a href="http://www.bmw.com/" target="_blank" rel="nofollow">www.bmw.com</a></small></option>
- <option>Citroen - <small><a href="http://www.citroen.com/" target="_blank" rel="nofollow">www.citroen.com</a></small></option>
- <option>Ford - <small><a href="http://www.ford.com/" target="_blank" rel="nofollow">www.ford.com</a></small></option>
- <option>Jeep - <small><a href="http://www.jeep.com/" target="_blank" rel="nofollow">www.jeep.com</a></small></option>
- </select>
- </div>
原文地址:http://www.freejs.net/article_biaodan_600.html