clewmanage.js

来自「一些Acjax的控件简单应用学习实例」· JavaScript 代码 · 共 28 行

JS
28
字号
// JScript 文件
function changePersonName()
{ 
      try
      {
          var retunvalue=openModalDialog('SelectPersonSearch.aspx',null,650,450);
          if(retunvalue==null||retunvalue=="undefined")
              return ;
          var values=retunvalue.split(",");
          document.getElementById("txtName").value=values[1];
          document.getElementById("hdfPersonId").value=values[0];
      }
      catch(exception)
      {
          alert("选择人员时出现错误!");
      }
}
//完成保存后执行
function CloseNew()
{ 
    //  var url="ClewManage.aspx";
    // // window.parent.frames['PoliceInfo'].document.location.href=url;
    //  window.parent.document.location.href=url;
//  var grdTable=window.parent.getElementById("grdClewInfo");
//  alert(grdTable);return;
//  grdTable.insertRow(0);
  window.close();
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?