在嵌套页里面 例: 要传一个            Image1.Src = str_url;   就是要传递 Image1.Src  到父级页面 

              方法: 。。。。。。。。。。

                      Image1.Src = str_url;

                      string url1 = "<script>parent.document.form1.pc1.value='" + newname + "' </script>";
            Response.Write(url1);

       。。。。。。。。。。。。。。。。。。。。

代码解释:  其中 pc1只是一htm控件  放在伏击页面的隐藏域中, 也就是临时写到  pc1.value   ; 父级页面的控件都接到值啦 下面什么还不可以做啊!呵呵

 

 

js学习网站 推荐:http://www.w3school.com.cn/js/

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-01
  • 2022-12-23
  • 2021-11-13
  • 2021-10-17
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-28
  • 2022-12-23
  • 2022-12-23
  • 2021-05-23
  • 2022-12-23
  • 2021-11-14
相关资源
相似解决方案