jQuery自动完成插件flexselect
使用方法
首先,加载jQuery的,liquidmetal.js,和jquery.flexselect.js插件:
<script src="jquery.min.js" type="text/javascript"></script> <script src="liquidmetal.js" type="text/javascript"></script> <script src="jquery.flexselect.js" type="text/javascript"></script>
<pre> jQuery(document).ready(function() { jQuery("select.flexselect).flexselect(); }); </pre>
<select class="flexselect" id="president name="president"> <option value="1">George Washington</option> <option value="2">John Adams</option> <option value="3">Thomas Jefferson</option> ... </select>
文章链接: http://www.jq22.com/jquery-info455 转载请务必加上该链接