这里有三层:
parent.parent.parent. 最高层
parent.parent. 第二层
parent. 底层
parent.parent.parent. 最高层
parent.parent. 第二层
parent. 底层
解决方案 »
- jquery 求思路
- jquery.form.js 中文乱码问题
- 帮帮我呀,学生做项目中。。。
- 如何像163邮箱自动上传附件
- ●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●邪恶的eval和new Function!!!!!!!!!!!
- window.open打开文件出错,请问是什么原因,谢谢
- 雪地跪求一个jquery或js问题。在线等待,高手进。
- 不知为何不能替换图片,急!!!
- 急!在线等待!多了一个“'”的问题
- 怎么改变显示在页面上的数据字体颜色
- 如何通过javascript控制IE,不全屏就可以将标题栏和最大、最小、关闭等隐藏
- 用JavaScript可以设置当前网页不显示菜单栏和地址栏吗?
恩,其他如TABLE、FORM也也找不到,问题就在于找到这个FRAME而访问不到里面的对象~~~??
<frame src="xxx.jsp" scrolling="NO" noresize name="menu">
<frame src="yyy.jsp" name="main">
</frameset>xxx.jsp:<body>
this is xxx.jsp!
<input type=button value=change onclick=parent.frames[1].location="zzz.jsp">
</body>yyy.jsp:
this is yyy.jsp! zzz.jsp:
<frameset id=allFrame cols="200,*" framespacing="0" frameborder="0" border=1 bordercolor="#000000" framespacing=0>
<frame src="aaa.jsp" border="0" name="leftFrame" frameborder="0" scrolling="no" id="allmid">
<frame src="bbb.jsp" name="indexFrame" border="0" frameborder="0" id="indexFrame">
</frameset>bbb.jsp:
this is bbb.jsp!
<input id =t1 type="text" value="hi!~``">
aaa.jsp:
this is aaa.jsp!
<input type="button" value="click" onclick =parent.frames[1].t1.value='shyslysky'
>
this is bbb.jsp!
<input id =t1 type="text" value="hi!~``">
aaa.jsp:
this is aaa.jsp!
<input type="button" value="click" onclick =parent.frames[1].t1.value='shyslysky'
>
this is aaa.jsp!
<input type="button" value="click" onclick =parent.frames[1].f1.window.document.all.t1.value='shyslysky'
>
bbb.jsp:
this is bbb.jsp!
<input id =t1 type="text" value="hi!~``"
>
<iframe id=f1 src=qqq.jsp>qqq.jsp:<input id=t1 type="text" value="hello">
马上给分~