iframe的问题。。。200高分。。。 a.php中设一下<input type=hidden id=hidMobile>b.php的脚本parent.document.all.hidMobile.value = document.all.idaddress.value; 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 parent.document.all.hidMobile.value = document.all.idaddress.value;这一句在b.php中怎么写啊? parent.document.all.hidMobile.value = document.all.idaddress.value;这一句在b.php中怎么写啊? 在 a.php 里:<iframe name=iframe1 src=b.php></iframe>var str = window.frames["iframe1"].document.all.idaddress.value; 基本同意快乐王子的方法。他说的b.php的脚本可以这样<input id="idaddress" type="checkbox" name="mobile" value="111" onchange="parent.document.all.hidMobile.value = document.all.idaddress.value"> a.php里还是没有取到值啊?<input id="idaddress" type="checkbox" name="mobile" value="111" onchange="parent.document.all.hidMobile.value = document.all.idaddress.value">这个CHECKBOX是要通过表单提交的,也就是说a.php里<form name="addrlist" method=post action="javascript:UpdateAddressList('a')">那么这里的JS里的这个值a如何能是刚才在checkbox中也到的呢? test.htm<body> <iframe id="iframeID" height='100' src="1.htm"></iframe> 1.htm <body onload="parent.window.document.all.iframeID.height=document.all.bd.clientHeight + 40"> <table id=bd> <tr> <td> <p>灰豆宝宝.net<p>灰豆宝宝.net<p>灰豆宝宝.net<p>灰豆宝宝.net<p>灰豆宝宝.net<p>灰豆宝宝.net<p>灰豆宝宝.net<p>灰豆宝宝.net<p>灰豆宝宝.net<p>灰豆宝宝.net</td> </tr> </table> 就可以实现了. Sorry ,发错地方,请见谅... 回答一下,框架间的传值是这样子的:取得框架的值var v=parent.frmanename.document.form1.gnmc.value 图片服务器和本地服务器的跨域问题 win7下js如何修改注册表添加信任站点 Dreamweaver8遇到JS的转义字符时会导致显示出来的HTML颜色不对 请问:我想把frameset其中的一个换到另一页,怎么弄也不行。 JS 里面的传值和取值??? 求助:如何将以下一段asp改成javascript格式????急 为什么表单验证不了 关于隐藏表格的某行row后,页面的格式问题 如何得到下拉框中的值? 请教如何取得屏幕分辨率,还有就是这个代码有问题,谢谢 Javascript 里如何忽略错误! 请指教。 怎样向一个要弹出的窗口POST数据?? 急。。
这一句在b.php中怎么写啊?
这一句在b.php中怎么写啊?
<iframe name=iframe1 src=b.php></iframe>var str = window.frames["iframe1"].document.all.idaddress.value;
<input id="idaddress" type="checkbox" name="mobile" value="111" onchange="parent.document.all.hidMobile.value = document.all.idaddress.value">这个CHECKBOX是要通过表单提交的,也就是说a.php里
<form name="addrlist" method=post action="javascript:UpdateAddressList('a')">
那么这里的JS里的这个值a如何能是刚才在checkbox中也到的呢?
<iframe id="iframeID" height='100' src="1.htm"></iframe>
1.htm <body onload="parent.window.document.all.iframeID.height=document.all.bd.clientHeight + 40">
<table id=bd>
<tr>
<td>
<p>灰豆宝宝.net<p>灰豆宝宝.net<p>灰豆宝宝.net<p>灰豆宝宝.net<p>灰豆宝宝.net
<p>灰豆宝宝.net<p>灰豆宝宝.net<p>灰豆宝宝.net<p>灰豆宝宝.net<p>灰豆宝宝.net</td>
</tr>
</table>
就可以实现了.
请见谅...
取得框架的值var v=parent.frmanename.document.form1.gnmc.value