一个form里有一个table,有两个按纽,如何提交到两个不同的action
这个时候需要用javascript来进行提交
<script language="JavaScript">
<!--
function doAdd() {
a123.action = "init";
a123.submit();
}
function doView(operID) {
a123.action = "view";
a123.submit();
}
-->
</script>
<form name="a123">
<input type=button onclick="doAdd()">
<input type=button nclick="doView()">
</form>