日期:2014-05-17  浏览次数:20874 次

同一页面多个表单提交的问题,急!!
每当随边点一个提交按钮,整个页的的表单都修改了~~~~~
怎么能让这些表单点那只响应那个???
<table>
<tr>
<td> "> <form   name= "formp3 "   method= "post "   action= "Migration.asp "   target= "messageye "   onSubmit= "check(formp3) ">

……………………
</form> </td>
</tr>
'在这上面还有几个相同下面这个表单
<tr   id= "lay4 "   style= "display:none "> <form   name= "formp4 "   method= "post "   action= "Migration.asp "   target= "messageye "   onSubmit= "check(formp4) ">
<td   colspan= "18 "   bgcolor= "#E8F7FF ">
        <label>      订单所在用户:
                       
                <input   name= "username "   type= "text "   id= "username "   value= "lgy "   size= "15 "   readonly= "true "   />
       
        </label>
             ─→    更改为:
    <label>
    <select   name= "user_id "   id= "user_id ">
        <option> 选择用户 </option>
<option   value= '{2B73B6DC-B4C4-4C2D-B1B5-303B144B0FD2} '> lgy                                   </option> <option   value= '{9C7EDA3C-C8A3-4C19-BFC6-0BB7C2782D3F} '> yd                                     </option>
            </select>
    </label>
                    <label>     <input   name= "order_id "   type= "hidden "   value= "{DFDD528A-9E53-4411-9E19-DCEA9935B672} "   />
                    <input   type= "submit "   name= "Submit4 "   value= "提交 "   />
                    </label>         </td> </form>
</tr>
       
    </table>

------解决方案--------------------
表单多
你用哪个调用哪个就可以啊
------解决方案--------------------
表单域使用多个

然后提交时使用_blank
------解决方案--------------------
<form id= "form1 " name= "form1 " method= "post " action= " ">

<form id= "form2 " name= "form2 " method= "post " action= " ">

表单的NAME不一样就好像可以了