你是要根据用户的选择来实现订阅或者退定么?你可以用一组单选框让用户选择或者就一个隐藏域就行,点不同图片给该隐藏域设置不同的值,服务器那边检测这个隐藏域,根据值不同坐不同处理还有图片按钮可以使用 <input type="image" src="">
解决方案 »
- EXTJS2.2升级问题
- 字符串类型转换
- 求一张 游戏人物行走全过程图片(在线等)
- 用javascrip实现一个东西
- window.event.offsetX与window.event.x以及元素的clientHeight分别指什么?
- JAVAScript中,有一个textarea中比如输入AAA;BBB;CCC;DDD;当鼠标移动到这个字符上时;
- textarea不能用maxlength,应该用什么?
- 请问兄弟们Input的值如何全部选中
- easyui选项卡的问题
- 模态窗口的问题--小弟肤浅,还望指教
- 图像按钮<input type=image src="图像">点击后能调用javascript函数吗
- 求检测gif,jpg文件类型的正则表达式!!
,那提交语句写在哪里啊
<form name="times" method="post" action="subscibe.php" target="nbol"> <tr>
<td height="175" colspan="2"> </td>
</tr>
<tr>
<td width="244"> </td>
<td height="20" width="276"> <input type="hidden" name="action" value="add_mail">
<input type="hidden" name="user" value="rouse">
<input type="text" name="email" class="biaodan" id="email">
<input type="hidden" name="action_x" value="提交">
<input type="hidden" name="action_x" value="退订">
</td>
</tr>
<tr>
<td colspan="2" height="9"></td>
</tr>
<tr>
<td width="244"> </td>
<td height="22" width="276">
<table width="160" border="0" cellspacing="0" cellpadding="0">
<tr>
<td OnClick="times.action_x.value='提交';"><a href="javascript:times.submit();"><img src="images/rwtd_24.jpg" width="75" height="22" border="0" ></a></td>
<td width="10"> </td>
<td OnClick="times.action_x.value='退订';"><a href="javascript:times.submit();" ><img src="images/rwtd_25.jpg" width="75" height="22" border="0" ></a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" height="13"></td>
</tr>
<tr>
<td colspan="2">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="75" width="109"> </td>
<td width="186"><a href="http://www.chinapdf.com/download.htm"><img src="images/rwtd_22.jpg" width="180" height="75" border="0"></a></td>
<td><a href="times/times.zip"><img src="images/rwtd_23.jpg" width="180" height="75" border="0"></a></td>
</tr>
</table>
</td>
</tr></form>
</table>
现在得到的action_x的值为什么都是“退订”,这是什么原因