zl程序教程

您现在的位置是:首页 >  后端

当前栏目

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

方法 选择 绑定 弹出 文本框
2023-09-11 14:15:11 时间

                 <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' });




     })