网页中提交表单问题

来源:百度知道 编辑:UC知道 时间:2024/06/17 18:03:35
<table border="0" borderColor="#6699CC" cellSpacing="0" height="1" width="60%" align="center" cellpadding="0">
<tr>
<td class="p2" height="15" vAlign="top" width="99%">
<form action=gp.php Submit="return f_submit(this)" METHOD="GET">
<input type=text name=c size=6 value="123">
<input type=submit value=图片提取><input TYPE="button" value="刷新图片" onCLICK="location.reload()"></form></p>
</td>
</tr>
</table>

<table>
<tr>
<td><img src="www.baidu.com/这里该怎么写.gif">
</td>
</tr>
<tr>
<td></td>
</tr>
</table>

当填

地址代码不在这里改,是在一个名为f_submit()的函数中.你可以查看网页的JS代码,复制那段代码然后再贴出来帮你改.或者直接在百度里留言.加我也行.30-671-5358.

要提交到本页才可以,
<form action="" METHOD="POST">
...
<img src="www.baidu.com/<?php echo $_POST["c"]; ?>.gif">

你所说的应该是要求 联动效果。

联动效果 你可以到网上收到许多JS方法。

随便贴个代码可能会影响你。。
你搜联动效果就行了。

还有一个很好的方法 Javascript中eval函数 这种方法你可以研究下。

踩踩