0
点赞
收藏
分享

微信扫一扫

LigerUi绑定文本框为【选择框】和【弹出框】的方法!


<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" οnclick='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 }); // 【弹出框】




      ​​LigerUi中设置把设置日期选择框的【日期显示格式】!​​



           $("#enddate1").ligerDateEditor({ width:80,format: 'yyyyMMdd' });



              $("#enddate1").ligerDateEditor({width:80, format: 'yyyy-MM-dd' });


     })


              $("#enddate1").ligerDateEditor({width:80, format: 'yyyy-MM-dd' });

举报

相关推荐

0 条评论