我建了人框架页,分左右两边,代码如下:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head><frameset rows="*" cols="247,*" framespacing="0" frameborder="no" border="0">
  <frame src="a.html" name="leftFrame" scrolling="No" noresize="noresize" id="a" title="a" />
  <frame src="b.html" name="b" id="mainFrame" title="b" />
</frameset>
<noframes><body>
</body>
</noframes></html>
----------------------------
我在A页面中放个按扭
<input type="submit" name="Submit" value="提交"/>
,在B页面中放个文本框
<input name="aa" type="text" id="aa" />
我要的是点击A里的安扭
然后给B里的文本框赋值。
怎以实现,谢谢