呵呵,刚才还在用呢:)<form action="" method="post" target="_blank">
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
          <td bgcolor="#FFFFFF"> </td>
        </tr>
  <tr>
          <td bgcolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
              <tr align="center"> 
                <td height="26" colspan="3" valign="top">
                <input name="btnagree2" type="submit" id="btnagree23" value="结  项" onclick="this.form.action='11.html'" tabindex="1">
                  &nbsp; 
                <input name="btnagree3" type="submit" id="btnagree33" value="补充材料"  onclick="this.form.action='22.jsp'" tabindex="2">
                  &nbsp; 
                <input name="btnagree" type="submit" id="btnagree5" value="新申请" onClick="this.form.action='33.jsp?name=2132'" tabindex="3"> 
                </td>
              </tr>
            </table></td>
        </tr>
</table>
</form>

解决方案 »

  1.   

    onClick 事件加上“this.form.action=‘’”就OK了
      

  2.   

    function first()
    {
      document.form1.action="first.jsp";
      document.form1.submit();
    }
    function second()
    {
      document.form1.action="seconde.jsp";
      document.form1.submit();
    }<form name="form1" method="POST">
    <input type="button" value="确 定" onclick="first()">
    <input type="button" value="删 除" onclick="second()">
      

  3.   

    只需要在函数中修改form.action属性,注意路径正确
      

  4.   

    <form name="c">
    有两个select的表单
    </form>
    <form name="a">
    <input type="hidden" name="test1">
    <input type="hidden" name="test2">
    <input type="button" value="submit A" onclick="this.form.test1.value=document.c.selcyer.value;this.form.test2.value=document.c.selcmon.value;this.form.submit();">
    </form>
    <form name="b">
    <input type="hidden" name="test1">
    <input type="hidden" name="test2">
    <input type="button" value="submit B" onclick="this.form.test1.value=document.c.selcyer.value;this.form.test2.value=document.c.selcmon.value;this.form.submit();">
    </form>