用showModalDialog弹出的页面能用window.opener.document.访问父页面中的element的value吗? Try:window.showModalDialog(sURL,vArguments) ~~~~~~~~~~ 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 请问net_lover,如果我要取form1.text1.value的话,vArguments应该怎么写? <body onload="ts()"><form name=f><input name=txt value="Test"></form><script>function ts(){var url="1.htm?" + document.f.txt.valuewindow.showModalDialog(url)}</script>1.htm==========================<body><script>var str = window.location.searchstr = str.substring(1,str.length)alert(str)</script> 注意:用文件协议访问返回空,必须用htttp://访问 jquery问题、jquery-selectable懂的进。。。。。 QQ空间相册 查看是怎么做的呢 菜鸟学飞 Js的replace替换()问题 如何用JS循环输出表格的值 这些符号的转义码是什么 送一个弹出菜单给你们,支持firefox 准高分求助,在线急等 ! 记得以后多多捧场 An exception occurred processing JSP page /index.jsp at line 18 MS IE所支持的Javascript和NetScape所支持的JavaScript有什么不同? 又是javascript在ie和netscript 中的区别……, 紧急!
<form name=f>
<input name=txt value="Test">
</form>
<script>
function ts(){
var url="1.htm?" + document.f.txt.value
window.showModalDialog(url)
}
</script>1.htm
==========================<body>
<script>
var str = window.location.search
str = str.substring(1,str.length)
alert(str)
</script>