<script type="text/javascript"> $("#cond_EPARCHY_CODE").selectmenu(); </script>
<style> .overflow { height: 200px; } </style> <script type="text/javascript"> $("#cond_EPARCHY_CODE").selectmenu().selectmenu( "menuWidget" ).addClass( "overflow" ); </script>
/*! * jQuery UI Selectmenu 1.11.2 * http://jqueryui.com * * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license * * http://api.jqueryui.com/selectmenu */ var selectmenu = $.widget( "ui.selectmenu", { ... }3、从注释里看到该控件的官网地址,直接访问http://api.jqueryui.com/selectmenu
原文地址:http://blog.csdn.net/ouyida3/article/details/44132115