<form method="post" action="" id = "countForm">
<input type = "button" value = "集計対象外表示" name="SUBMIT" onclick = "document.getElementById('countForm').action='countException.php';document.getElementById('countForm').submit();" >
<input type = "button" value = "再計算" name="SUBMIT" onclick = "document.getElementById('countForm').action='uploadG20.php';document.getElementById('countForm').submit();">
<input type = "button" value = "集計対象外表示" name="SUBMIT" onclick = "document.getElementById('countForm').action='countException.php';document.getElementById('countForm').submit();" >
<input type = "button" value = "再計算" name="SUBMIT" onclick = "document.getElementById('countForm').action='uploadG20.php';document.getElementById('countForm').submit();">
本文介绍了一个简单的HTML表单,其中包括两个按钮,分别用于触发不同的表单提交动作。通过JavaScript控制表单的提交路径,实现如集計対象外表示及再計算等功能。
1680

被折叠的 条评论
为什么被折叠?



