$(function () {
        //说明:btnsearch按钮,selCat下拉列表,ttdatagrid  table
$("#btnsearch").click(function () { //1.1 获得 选中的分类ID var $selCat = $("#selCat"); var MID = $selCat.children("option:selected").val(); //1.2 查询数据 并刷新GD显示 var op = $("#tt").datagrid("options");//获取 option设置对象 op.url = "/admin/admin/WebSecondCatJsonByID/" + MID;//设置url $("#tt").datagrid("load");//重新加载 }) })

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-30
猜你喜欢
  • 2022-12-23
  • 2021-12-17
  • 2021-10-09
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案