I'm rather late finding this problem. Chris' solution works fine for IE6 etc. but fails for FireFox. I have both value=".." and realvalue=".." Then in my PHP script I test for submitbuttonpressedvalue="undefined" when I know it's not IE and get the proper POST variable value otherwise I use the submitbuttonpressedvalue.
I have cleaned up my code in previous example.
This is used if you have multiple button tags submitting the same form, so you can tell which button has submited form.
Now in the post vars the realvalue of the button pressed should be in the
'submitbuttonpressedvalue' post var.
I think that's correct
Comment
I'm rather late finding this problem. Chris' solution works fine for IE6 etc. but fails for FireFox. I have both value=".." and realvalue=".." Then in my PHP script I test for submitbuttonpressedvalue="undefined" when I know it's not IE and get the proper POST variable value otherwise I use the submitbuttonpressedvalue.
Parent comment
I have cleaned up my code in previous example. This is used if you have multiple button tags submitting the same form, so you can tell which button has submited form.
Now in the post vars the realvalue of the button pressed should be in the 'submitbuttonpressedvalue' post var. I think that's correct