关于查询页面的问题

来源:百度知道 编辑:UC知道 时间:2024/06/01 23:00:09
我现在制作了一个查询页面。上面有很多查询信息。网页在我这里输入查询,然后弹出别的网站的查询页面。现在我想把别的网站的页面嵌入我网站的框架,而且是在输入后才显示出来。请问改咋办
<table width="748" border="0">
<tr>
<td width="42"><div align="right"><img src="images/weather.gif" width="32" height="32" align="top"></div></td>
<td width="72"><span class="style116"> 天气预报</span></td>
<td width="620"><table width="90%" border="0" cellspacing="3" cellpadding="3" align="center">
<tr>
<td width="8" valign="top" height="50">  </td>
<form name="form1" action="http://weather.tq121.com.cn/detail.p

<form action="http://www.baidu.com/s">
<input type=text name=wd>
<input type =submit value="ssssss">
</form>

这个样子不就到百度去了吗?

框架页:

<frameset cols="25%,75%">
<frame src="2.html" name=left>
<frame src="http:\\g.cn" name=right>
</frameset>

表单:

查询天气<br>
<form name="form1" action="http://weather.tq121.com.cn/detail.php" target="right">
<input name="city" size=36 type="text">
<input name="Input" type="submit" value="查询天气">
</form>

target写成框架的name就可以 了。

<table width="748