日期:2014-05-17 浏览次数:21110 次
<form id="myform" name="form1" method="post" action=""> <p> <label> <input type="text" name="textfield" /> </label> </p> <p> <input type="submit" name="Submit" value="提交1" onclick="document.myform.action='a.asp';document.myform.submit();" /> <input type="submit" name="Submit2" value="提交2" onclick="onclick=document.myform.action='index.asp';document.myform.submit();" /> </p> </form>