一个关于js的问题 那使用parent.frames.bottom这样的格式互相操作 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 < frameset rows="50%,50%">< frame name=top src="page1.html">< frame name=button src="page2.html">< /frameset>比如在page1.html中使用parent.frames.bottom这样的来弄,比如要刷新page2.html在page1.html中用<input type=button value="刷新2" onclick="window.parent.frames.bottom.location.reload()">就可以刷新page2.html 那page2中文本框的内容是如何变化呢? page1.html中<input type=button value="刷新2" onclick="window.parent.frames.bottom.document.getElementById('a').value='测试'">page2.html中<input name="a" id="a" value=1> 假设page2页面所在框架名称为“mainFrame”,文本框的id属性为“txt”,则page1中的按钮的单击事件为:onclick="parent.mainFrame.document.getElementById('txt').value='要变化的值'" js怎么实现密码的强弱? Jquery或Javascript如何删除链接标签 js的this问题 关于checkbox的问题,小弟问问。。。。。。 js怎样根据初始级别与结束级别得出钱与天数,根据1-60级写1-70级 高手才进来,关于window.HttpXmlRequest的问题 为什么下面的程序调试不出来呢 javascript实现<input type=file>功能 使用iframe放视频 ,,chrome等高版本没问题 ,在360内核选择IE10 及11 提示下载 Bootstrap和github都表示移除Jquery jsp中可以运行javaScript吗 谁用JS画过图吗?
< frame name=top src="page1.html">
< frame name=button src="page2.html">
< /frameset>
比如在page1.html中使用parent.frames.bottom这样的来弄,比如要刷新page2.html
在page1.html中用<input type=button value="刷新2" onclick="window.parent.frames.bottom.location.reload()">就可以刷新page2.html