加载数据后如果有其他操作可以这样写:

1 $(function () {
2     //如果加载远程json数据后还需要有其他操作, 可以这样写
3     $.getJSON('GetHandler.ashx?xmbh=<%=Request["xmbh"]%>', function (json) {
4         $('#fm').form('load', json);
5         //其他操作
6         alert(json.xmzt);
7     });
8     //$('#fm').form('load', 'GetHandler.ashx?xmbh=<%=Request["xmbh"]%>');//直接绑定远程json数据
9 });

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-03
  • 2021-10-16
猜你喜欢
  • 2022-12-23
  • 2021-12-03
  • 2022-12-23
  • 2021-04-24
  • 2022-12-23
相关资源
相似解决方案