<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<frameset id="upFrame" name="upFrame" cols="20%,*" framespacing="0"> <frameset rows="*,50%" cols="*" framespacing="0" frameborder="NO" border="0"> <frame name="h1" src=h1.jsp>
<frame name="h2" src=h2.jsp > </frameset>
<frame name="h3" src=h3.jsp" > <noframes>
<body>
<p>此网页使用了框架,但您的浏览器不支持框架。</p>
</body>
</noframes>
</frameset>
</html> ##################################################### 问: h2中的值 怎么传到h3中,不要刷页面?
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<frameset id="upFrame" name="upFrame" cols="20%,*" framespacing="0"> <frameset rows="*,50%" cols="*" framespacing="0" frameborder="NO" border="0"> <frame name="h1" src=h1.jsp>
<frame name="h2" src=h2.jsp > </frameset>
<frame name="h3" src=h3.jsp" > <noframes>
<body>
<p>此网页使用了框架,但您的浏览器不支持框架。</p>
</body>
</noframes>
</frameset>
</html> ##################################################### 问: h2中的值 怎么传到h3中,不要刷页面?
解决方案 »
- Error loading configuration file struts-default.xml - Class: com.opensymphony.xw 这是什么错误?折磨我五天了!
- SOS!!!List在页面遍历输出的问题,各位高手帮忙看看
- 如何用js来实现关闭浏览器弹出窗口!
- 在jsp中引用javascript出现中文显示问题
- Java操作ORACLE数据库Clob字段,我插入一个34k的文本的时候报错 java.sql.SQLException ora-21560:argument is null,invalid,or ou
- 每天上csdn,突然发现不知道csdn的全名叫什么?谁知道
- 请大家帮个忙,我想了一个钟头了
- JSP 页面用omport导入一个自己写的类,但Tomcat还是找不到该类
- 如何引入javax.Sevlet
- 如何打包发布jsp网站?高分200
- 我的首个JSTL程序就出错...大家指点一下..昨天晚上都今天一直没解决.
- onbeforeunload 事件中调用Action. JS代码中action的submit执行了.为什么Action没有执行呢.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<frameset id="upFrame" name="upFrame" cols="20%,*" framespacing="0"> <frameset rows="*,50%" cols="*" framespacing="0" frameborder="NO" border="0"> <frame name="h1" src=h1.html>
<frame name="h2" src=h2.html > </frameset>
<frame name="h3" src=h3.html > <noframes>
<body>
<p> 此网页使用了框架,但您的浏览器不支持框架。 </p>
</body>
</noframes>
</frameset>
</html>
h2页面:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<input type="text" id="aaa" value="123"/>
</body>
</html> h3页面:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script>
function show(){
var obj = top.frames[1].document.getElementById("aaa");
var value = obj.value;
alert(value);}</script>
</head>
<body onload="show()">
h3
</body>
</html>