怎样用asp在多隐藏文本域得到提交值

来源:百度知道 编辑:UC知道 时间:2024/05/31 14:40:20
我这里有一个前台的页面程序,有多个隐藏的文本域,想在后台得到他们的值该怎么做呢?部分代码如下:
<form name="form1">
<table>
<tr>
<td height="22" width="22"><input type="hidden" name="search" value="a">
<input type="image" name="imageField" src="img/1.jpg" width="22" height="22"></td>
<td height="22" width="22"><input type="hidden" name="search" value="b">
<input type="image" name="imageField2" src="img/2.jpg" width="22" height="22"></td>
<td height="22" width="22"><input type="hidden" name="search" value="c">
<input type="image" name="imageField3" src="img/3.jpg&qu

<table>
<tr>
<td height="22" width="22">
<img scr='' id='imageFiled1'></td>
<td height="22" width="22">
<img scr='' id='imageFiled2'></td>
<td height="22" width="22">
<img scr='' id='imageFiled3'></td>
<td height="22" width="22">
<img scr=''id='imageFiled4'></td>
<td height="22" width="22">
<img scr='' id='imageFiled5'></td>
</tr>
</table>
<form name="form1" action='#'>
<input type= hidden value='' id='it' name='search'>
</form>
<script>
function ok(){for(i=1;i<=5;i++){$("imageFiled"+i).onclick=function(){m=(this.id).