you can write it like this: you must understand the submit button not only write the submit, you can write a commonly button, but you must write the commonly button Onclick event. example: <input type="button" name="b1" onclick="submitCheck('b1')"> <input type="button" name="b2" onclick="submitCheck('b2')"> <input type="button" name="b3" onclick="submitCheck('b3')"> <input type="button" name="b4" onclick="submitCheck('b4')">in the javscript: <script language="javascript"> function submitCheck(obj) { if (obj == "b1") .... else if (obj == "b2") ...... ........ } </script>you will solute the problem!
example:
<input type="button" name="b1" onclick="submitCheck('b1')">
<input type="button" name="b2" onclick="submitCheck('b2')">
<input type="button" name="b3" onclick="submitCheck('b3')">
<input type="button" name="b4" onclick="submitCheck('b4')">in the javscript:
<script language="javascript">
function submitCheck(obj)
{
if (obj == "b1")
....
else if (obj == "b2")
......
........
}
</script>you will solute the problem!