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');
      } });
  • 相关阅读:
    hlgoj 1766 Cubing
    Reverse Linked List
    String to Integer
    Bitwise AND of Numbers Range
    Best Time to Buy and Sell Stock III
    First Missing Positive
    Permutation Sequence
    Next Permutation
    Gray Code
    Number of Islands
  • 原文地址:https://www.cnblogs.com/zyh1994/p/6130025.html
Copyright © 2011-2022 走看看