http://www.csdn.net/Develop/Read_Article.asp?Id=15113
解决方案 »
- 关于POST的编码问题
- document.getElementsByTagName()后如何取得控件的属性值?
- 如何实现搜索引擎的查询界面
- 我为什么得不到响应的XML文档,50请教
- javascript问题在线
- 请问,一个页面或者一个form最多能submit多少个控件?
- 如何用Javascript判断客户端注册表中是否有值为00100000-B1BA-11CE-ABC6-F5B2E79D9E3F的clsid?
- 100+急!!!iframe问题
- 限制文本框输入为整数或为.5的小数,如:2,1.5,0.5,3....
- 请问为什么我在Popup中的事件无法响应?
- 我要用图片做背景的时候,怎么才能够做到想window背景一样是拉伸的
- 怎么不能隐藏Table中的某一行?
<input type="text" id="txt1">
<script>
var ret = showModalDialog("child.html", window);//pass the current window object
if (ret != null)
document.getElementById("txt1").value = ret;
</script>child.html:
<script>
var opener = window.dialogArguments;
opener.document.getElementById("txt1").value = "123";//set the value directly
window.returValue = "123";//will pass to "ret" in main.html