两种返回值的方法

父页面:var result = window.showModalDialog("Default3.aspx",obj,'dialogWidth:1000px;dialogHeight:440px;status:yes');

 

 模式窗体:

方法1:window.returnValue='016';

方法2:     var myObj = window.dialogArguments;

               myObj.Text1.value = "016";

 

 js运行记事本

var WshShell = new ActiveXObject("WScript.Shell");
WshShell.run("notepad"); 

相关文章:

  • 2021-11-16
  • 2022-02-07
  • 2021-06-18
  • 2021-11-02
  • 2022-12-23
  • 2021-10-16
  • 2021-08-18
  • 2022-12-23
猜你喜欢
  • 2021-11-30
  • 2021-10-20
  • 2021-08-26
  • 2021-09-07
  • 2021-07-24
相关资源
相似解决方案