main.htm<frameset rows="30%,*" id="baobao">
<frame src="top.htm" name="topFrame">
<frame src="bottom.htm" name="bottomFrame">
</frameset>top.htm<input type="button" onclick="PostVal()" value="PostVal">
<input type="text" name="topTxt" value="Baobao">
<script>
function PostVal()
{
top.frames['bottomFrame'].document.all.txt.value = document.all.topTxt.value;
}
</script>bottom.htm<input type="text" name="txt" value="">
<frame src="top.htm" name="topFrame">
<frame src="bottom.htm" name="bottomFrame">
</frameset>top.htm<input type="button" onclick="PostVal()" value="PostVal">
<input type="text" name="topTxt" value="Baobao">
<script>
function PostVal()
{
top.frames['bottomFrame'].document.all.txt.value = document.all.topTxt.value;
}
</script>bottom.htm<input type="text" name="txt" value="">
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货