zoukankan
html css js c++ java
传递值给父窗口
一、调用
this
.Button3.Attributes.Add(
"
onclick
"
,
"
window.open('CopyToMan.aspx','','top=200,left=240,width=490,height=240')
"
);
二、返回
string
strScript
=
"
<script>
"
+
"
\r\n
"
;
strScript
+=
"
window.opener.document.form1['TextBoxCopyMan'].value='
"
+
ArchivesName
+
"
'
"
+
"
\r\n
"
;
//
父窗口的对象
strScript
+=
"
window.opener.document.form1['HiddenField1'].value='
"
+
ArchivesID
+
"
'
"
+
"
\r\n
"
;
//
父窗口的对象
strScript
+=
"
window.parent.close();
"
+
"
\r\n
"
;
strScript
+=
"
</script>
"
+
"
\r\n
"
;
if
((
!
(IsClientScriptBlockRegistered(
"
clientScript
"
))))
{
RegisterClientScriptBlock(
"
clientScript
"
, strScript);
}
查看全文
相关阅读:
用Fiddler模拟低速网络环境
定制 Fiddler 之将请求发往另一服务器
软件测试流程进阶----两年软件测试总结
Fiddler 4 抓包(APP HTTPS )
JMeter报错 ERROR o.a.j.t.JMeterThread: Test failed!
Python显示百分比
python 2 到 3 的新手坑
Python运行的17个时新手常见错误小结
Python去除字符串的空格
js控制媒体查询样式/判断是PC端还是移动端
原文地址:https://www.cnblogs.com/ringwang/p/1026955.html
最新文章
Azure上部署Barracuda WAF集群 --- 1
Azure SLB + httpd + ILB + HAProxy + Atlas + MySQL
phpBB安装
.Net培训班课程体系
ReportViewer的使用总结
JAVA8新特性简单总结
Java的优势
VS2013中修改MFC对话框左上角和exe图标
VS中ipch文件夹和sdf文件的处理方式
C++中extern(转)
热门文章
dll和lib的关系(转)
deque
计算机基础
python2,3的区别
Elasticsearch DSL语句之连接查询
linux_c学习笔记之curl的使用一
Elasticsearch--Date math在索引中的使用
Elasticsearch多索引
Elasticsearch+Logstash+Kibana教程
fiddler filters
Copyright © 2011-2022 走看看