框架页的问题,,搞得我一个头两个大。。。希望各位帮帮忙 parent.frames["bottomFrame"].document.form1.txtBody.value="http://www.hao123.com"; 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 试过了 你们两个的方法都可以的啊(XP+IE6)。-------------index.htm<frameset rows="*" frameborder="no" border="0" framespacing="0"> <frameset cols="100,*" frameborder="no" border="0" framespacing="0"> <frame src="left.asp" name="leftFrame" scrolling="No" noresize="noresize" id="leftFrame" title="leftFrame" /> <frameset rows="*,100" frameborder="no" border="0" framespacing="0"> <frame src="main.html" name="mainFrame" id="mainFrame" title="mainFrame" scrolling="auto"/> <frame src="bottom.html" name="bottomFrame" scrolling="No" noresize="noresize" id="bottomFrame" title="bottomFrame" /> </frameset> </frameset>------------------------main.htmlmain<script>function pro(){ parent.bottomFrame.document.form1.txtBody.value="http://www.hao123.com";}</script><button onclick="pro();">button</button>----------------------bottom.htmlbottom<form name="form1"><input type="text" name="txtBody" id="txtBody" value="aaaaa"></form> jquery往table里添加<tr> 这个怎么办! 关于一个图片悬停代码 求助关于ie6下不符合w3c的定位问题? IFRAME编辑器如何获得图片? 为何该脚本在ie中可显示但是在firefox中该flash显示不出图片呢? 浮动层定位问题,造诣深的JS来指点下? 如何用js直接将word打印出来 怎样通过checkbox,来控制文本框和下拉列表的"可用"和"不可用"状态? 我想在网页中用我自己编的activeX控件,在html文件中怎么写? CheckBox取值问题,急~~ 如何引用其它htm文件里面的表格内容? 各位大虾快帮忙啊!
-------------index.htm<frameset rows="*" frameborder="no" border="0" framespacing="0">
<frameset cols="100,*" frameborder="no" border="0" framespacing="0">
<frame src="left.asp" name="leftFrame" scrolling="No" noresize="noresize" id="leftFrame" title="leftFrame" />
<frameset rows="*,100" frameborder="no" border="0" framespacing="0">
<frame src="main.html" name="mainFrame" id="mainFrame" title="mainFrame" scrolling="auto"/>
<frame src="bottom.html" name="bottomFrame" scrolling="No" noresize="noresize" id="bottomFrame" title="bottomFrame" />
</frameset>
</frameset>------------------------main.html
main
<script>
function pro(){
parent.bottomFrame.document.form1.txtBody.value="http://www.hao123.com";
}
</script>
<button onclick="pro();">button</button>----------------------bottom.html
bottom
<form name="form1">
<input type="text" name="txtBody" id="txtBody" value="aaaaa">
</form>