查询按钮

来源:互联网 发布:小知不及大知通假字 编辑:程序博客网 时间:2024/06/05 11:09

<a id="btn" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search'">查询</a>


//查询按钮
        $("#btn").click(function () {
            loadtable();
        });

1.切换查询条件时改变表格(datagrid的传参方式是queryParams)中第一列的表头名称

        $("#btn").click(function () {
            $(".datagrid-cell-c1-Name").first().find("span:first").html($("#fanwei").combobox("getText"));
            //loadtable();
           $("#dt_dayw").datagrid("load", {
               fanwei: $("#fanwei").combobox("getValue"),
               year: $("#time").combobox("getValue")
           });
        });

0 0
原创粉丝点击