zoukankan      html  css  js  c++  java
  • Jquery EasyUI弹出窗体

    $("#btnCreate").click(function () {
      $("#modalwindow").html("<iframe width='100%' height='100%' scrolling='no' frameborder='0'' src='@Url.Action("Create")'></iframe>");
      $("#modalwindow").window({ title: '@Resource.Create',  700, height: 400, iconCls: 'icon-add' }).window('open');
    });
    $("#btnEdit").click(function () {
      var row = $('#List').datagrid('getSelected');
      if (row != null) {
        $("#modalwindow").html("<iframe width='100%' height='99%' frameborder='0' src='@Url.Action("Edit")?id=" + row.Id + "&Ieguid=" + GetGuid() + "'></iframe>");
        $("#modalwindow").window({ title: '@Resource.Edit',  700, height: 400, iconCls: 'icon-edit' }).window('open');
      } else { 
        $.messageBox5s('@Resource.Tip', '@Resource.PlaseChooseToOperatingRecords');
      } });
  • 相关阅读:
    靶机练习
    靶机练习
    靶机练习
    CTF-攻防世界-Web_php_unserialize(PHP反序列化)
    漏洞复现
    靶机练习
    靶机练习
    靶机练习
    糗事集合
    慕课前端入门-JS事件
  • 原文地址:https://www.cnblogs.com/zyh1994/p/6130025.html
Copyright © 2011-2022 走看看