1个回答
展开全部
<script language=javascript>
function submitform( submitValue ) {
document.forms[0].action = "actionName.do?val=" + formIndex;
document.forms[0].submit();
}
</script>
<input type="submit" value="按钮1" onclick="submitform(1)" />
<input type="submit" value="按钮2" onclick="submitform(2)" />
<input type="submit" value="按钮3" onclick="submitform(3)" />
<input type="submit" value="按钮4" onclick="submitform(4)" />
........
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询