1、window.open方式
(1)通过Opener方法调用父窗体方法传值
).value=  returnValue;
     }
</script> 
</body>
</html>



(2)在子窗体里面用window.opener.document.from方法传值
 


备注:子窗体关闭要刷新父窗体,在子窗体赋值的第一句加上opener.location= opener.location.href;

2、ShowModalDialog方式(window.returnValue方法传值)




</html
备注:子窗体关闭要刷新父窗体,在打开窗体的URL后面加上 window.location.reload();

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-28
  • 2022-01-06
  • 2022-12-23
  • 2021-07-13
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-28
  • 2022-03-04
  • 2021-09-25
  • 2021-10-12
相关资源
相似解决方案