如图,我想在自己定义的一个网页中通过点击按钮,将值传递给另一个外网页面,该怎么做,小弟先谢谢了
index.html 如下<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<HTML>
<HEAD>
<TITLE>
test
</TITLE>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<FRAMESET cols="45%,55%" title="" onLoad="top.loadFrames()">
<FRAMESET rows="70%,30%" title="" onLoad="top.loadFrames()">
<FRAME src="control.html"  name="Frame1" >
<FRAME src="none.html"name="Frame2" >
</FRAMESET>
<FRAME src="http://www.126.com"  name="Frame3"  scrolling="yes">
<NOFRAMES>
<H2>
Frame Alert</H2>
<P>
This document。
<BR>
</NOFRAMES>
</FRAMESET>
</HTML>control.html如下:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title> 测试页面之间传值</title></head><body><div align="center">
<form method=get action="classFrame">
  <table>
  <BR><BR><BR><BR><BR>
    <tr height="20" align="left" valign="middle">
      <td width="60">名  字:</td>
      <td><input type="text" value="传递的值"/></td>
    </tr>
    <tr valign="middle">
      <td align="left">
      <input type="submit" value="提交">
      </td>
    </tr>
  </table>
</form>
</div></body>
</html>