<frameset cols="180,*" rows="*" frameborder="YES" border="1" framespacing="0" id="bottom">
<frame name="A" src="A.htm">
<frame name="B" src="B.htm">
</frameset>A:为标题列表区域
B:为标题具体内容区域
请问现在 在A区域的页面里 如何用js更新B区域...不是连接 是用JS更新.....
<frame name="A" src="A.htm">
<frame name="B" src="B.htm">
</frameset>A:为标题列表区域
B:为标题具体内容区域
请问现在 在A区域的页面里 如何用js更新B区域...不是连接 是用JS更新.....
"txt"是A.htm中的元素ID
iframe.src = "http://bbs.csdn.net";我这样写的没有报错 但B区域却没任何反应???
parent.frames["B"].document.location="http://www.baidu.com";
iframe.location="http://bbs.csdn.net";
parent.frames["b"].location.href="http://www.baidu.com"
可以看看,文采不好,但应该可以帮得到你