ASP实现FORM点击一次提交按扭 同时执行多个表格的写入? 20
<formname="form1"method="post"action="admin.asp"id="form1"><inputtype="hidden"name="c...
<form name="form1" method="post" action="admin.asp" id="form1">
<input type="hidden" name="change" value="<%=change%>" />
<input type="hidden" name="dorsy" value="submit" />
<input type="hidden" name="action" value="<%=action%>" />
<input type="hidden" name="st" value="<%=st%>" />
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%; height: 100%">
<tr>
<%
ii=0
i_num=15
for i=1 to i_num%><td width="50%" valign=top>
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%; height: 100%">
<tr>
<td align="center" valign="top" >
<br />
<table border="0" cellpadding="0" cellspacing="1" class="table1" style="width: 90%">
<tr class="tableline1_1">
<td align="right">
产品名称:</td>
<td align="left"><input name="chanpin" type="text" size="32" id="p_m2" onBlur="DisSelect(2);" onKeyUp="findNames(2);" /> <font color=red>(<%=i%
>)</font></td>
</tr>
<tr class="tableline1_2">
<td align="right">
退货价格:</td>
<td align="left"><input name="jiage" type="text" size="10" />
元</td>
</tr>
<tr class="tableline1_2">
<td align="right">
退货数量:</td>
<td align="left"><input name="tui_num" type="text" size="10" />
件
</td>
</tr>
<tr class="tableline1_1">
<td align="right">
退货备注:</td>
<td align="left"><textarea name="beizhu" rows="2" cols="20" style="height:70px;width:250px;"></textarea></td>
</tr> </table></td>
</tr> </table></td>
<%
ii=ii+1
if ii mod 2 =0 then%>
</tr>
<tr>
<%end if%>
<%next%>
<tr class="tableline1_2">
<td align="center" colspan="2" style="height: 25px;" class="page_bg">
<%if change="show" then %>
<a href="javascript:history.go(-1)">[ 返回 ]</a>
<%elseif change="check_ok" then
response.Write("<a href='?action="&action&"&store_id="&store_id&"&change=check_ok&dorsy=check_ok&st="&st&"'>[ 撤
销退货 ]</a>")
else%><input type="image" name="ImageButton1" id="ImageButton1" src="images/tijiao.gif" style="border-width:0px;"
/><%end if%>
</tr></table></form>
我想实现点击一次提交按扭,则15个表格同时执行.请问处理代码如何写?
非常感谢啊,小弟在线等待.... 展开
<input type="hidden" name="change" value="<%=change%>" />
<input type="hidden" name="dorsy" value="submit" />
<input type="hidden" name="action" value="<%=action%>" />
<input type="hidden" name="st" value="<%=st%>" />
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%; height: 100%">
<tr>
<%
ii=0
i_num=15
for i=1 to i_num%><td width="50%" valign=top>
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%; height: 100%">
<tr>
<td align="center" valign="top" >
<br />
<table border="0" cellpadding="0" cellspacing="1" class="table1" style="width: 90%">
<tr class="tableline1_1">
<td align="right">
产品名称:</td>
<td align="left"><input name="chanpin" type="text" size="32" id="p_m2" onBlur="DisSelect(2);" onKeyUp="findNames(2);" /> <font color=red>(<%=i%
>)</font></td>
</tr>
<tr class="tableline1_2">
<td align="right">
退货价格:</td>
<td align="left"><input name="jiage" type="text" size="10" />
元</td>
</tr>
<tr class="tableline1_2">
<td align="right">
退货数量:</td>
<td align="left"><input name="tui_num" type="text" size="10" />
件
</td>
</tr>
<tr class="tableline1_1">
<td align="right">
退货备注:</td>
<td align="left"><textarea name="beizhu" rows="2" cols="20" style="height:70px;width:250px;"></textarea></td>
</tr> </table></td>
</tr> </table></td>
<%
ii=ii+1
if ii mod 2 =0 then%>
</tr>
<tr>
<%end if%>
<%next%>
<tr class="tableline1_2">
<td align="center" colspan="2" style="height: 25px;" class="page_bg">
<%if change="show" then %>
<a href="javascript:history.go(-1)">[ 返回 ]</a>
<%elseif change="check_ok" then
response.Write("<a href='?action="&action&"&store_id="&store_id&"&change=check_ok&dorsy=check_ok&st="&st&"'>[ 撤
销退货 ]</a>")
else%><input type="image" name="ImageButton1" id="ImageButton1" src="images/tijiao.gif" style="border-width:0px;"
/><%end if%>
</tr></table></form>
我想实现点击一次提交按扭,则15个表格同时执行.请问处理代码如何写?
非常感谢啊,小弟在线等待.... 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询