//框架页
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>无标题文档 </title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style> </head> <frameset rows="80,*" frameborder="yes" border="0" framespacing="0">
<frame src="top.html" name="topFrame" scrolling="NO" title="topFrame" >
<frame src="index.php" name="mainFrame" title="mainFrame">
</frameset>
<noframes> <body>
</body> </noframes>
</html>
//top.html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>无标题文档 </title>
</head> <body> <table width="100%" border="1">
<form id="Form1" method="post" target ="mainFrame">
<tr>
<td>logo </td>
<td>
<input name="top" type="text" >
<input name="botton" type="提交"> </td>
</tr> </form>
</table>
</body>
</html>
请问,top.html里是一个输入框,我想单击提交的时候将值传递给index.php,请问有什么方法可以将这个值传递给index.php?谢谢 在线等
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>无标题文档 </title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style> </head> <frameset rows="80,*" frameborder="yes" border="0" framespacing="0">
<frame src="top.html" name="topFrame" scrolling="NO" title="topFrame" >
<frame src="index.php" name="mainFrame" title="mainFrame">
</frameset>
<noframes> <body>
</body> </noframes>
</html>
//top.html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>无标题文档 </title>
</head> <body> <table width="100%" border="1">
<form id="Form1" method="post" target ="mainFrame">
<tr>
<td>logo </td>
<td>
<input name="top" type="text" >
<input name="botton" type="提交"> </td>
</tr> </form>
</table>
</body>
</html>
请问,top.html里是一个输入框,我想单击提交的时候将值传递给index.php,请问有什么方法可以将这个值传递给index.php?谢谢 在线等
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货