<table cellpadding='5' cellspacing='5'>
<tr><td></td> <%--第1行--%>
<td> 类别 </td> <td width="5px"></td>
<td style="width:100px"><input type="text" id="Text11" style="height:20px;"/></td>
<td> 弹出 </td> <td width="5px"></td>
<td style="width:140px"><input type="text" id="Text12" style="height:20px;"/></td>
<td><a href="javascript:void(0)" class="l-button" style="width:80px" onclick='cx_1()'>查询</a> </td>
</tr>
</table>
LigerUi绑定文本框为【选择框】和【弹出框】的方法!
$(function () {
$("#querytype").ligerComboBox({ width:80,treeLeafOnly: true, tree: { url: "../handle/sele.ashx?ajaxaction=Get&name=2", checkbox: false }, valueFieldID: "querytype1" }); //【选择框】
$("#queryname").ligerTextBox({ width: 120 }); //【LigerUi文本框】
$("#querylocation").ligerComboBox({width:80, valueFieldID: "querylocation1", onBeforeOpen: f_selectFromPlace1 }); //【弹出框】
$("#enddate1").ligerDateEditor({ width:80,format: 'yyyyMMdd' });
$("#enddate1").ligerDateEditor({width:80, format: 'yyyy-MM-dd' });
})
$("#enddate1").ligerDateEditor({width:80, format: 'yyyy-MM-dd' });
本文详细介绍了 LigerUi 框架中组件的配置方法,包括如何将文本框配置为选择框和弹出框,以及如何设置日期选择框的日期显示格式。通过具体的代码示例展示了不同组件的配置过程。

1863

被折叠的 条评论
为什么被折叠?



