1. ligerComboBox参数、方法及事件
1.1 参数
2. ligerComboBox示例
2.1 初始化HTML select控件
<link href="/Scripts/ligerUI/skins/Aqua/css/ligerui-all.css" rel="stylesheet"/> <script src="/Scripts/jquery-1.11.3.js"></script> <script src="/Scripts/ligerUI/js/ligerui.all.js"></script>
<select id="selWeekdays"> <option value="0">星期日</option> <option value="1">星期一</option> <option value="2">星期二</option> <option value="3">星期三</option> <option value="4">星期四</option> <option value="5">星期五</option> <option value="6">星期六</option> </select> <input id="hdWeekday" type="hidden" /> <div> <input type="button" value="获取" onclick="GetValue()" /> </div>
<script type="text/javascript"> $(function () { $("#selWeekdays").ligerComboBox({ valueFieldID: 'hdWeekday' }); }); function GetValue() { alert($("#hdWeekday").val()); } </script>