IE and Submit Buttons
Posted: Wed Jun 02, 2010 6:22 am
While not strictly a php problem, I'm trying to find the best solution to my problem.
Stupid IE will not past _$POST['submit] for the following code:
It took me quite a while to figure out that the post data was not getting passed. But how do I work around this other than just using a button? I want to use an image instead.
I have multiple submit buttons on some pages so if I use <button> then post passes ALL of the buttons and there's no way to decide which one has been pressed.
I could contain everything that requires a button in its own form but that would be very impractical for my application.
So far, my searches have turned up a lot of discussion, but not much in the way of a real solution.
As always, help is much appreciated.
Stupid IE will not past _$POST['submit] for the following code:
Code: Select all
<INPUT ID='submit' NAME='submit' TYPE=IMAGE BORDER=0 SRC='../images/wiz_enter.png' VALUE='bp'>I have multiple submit buttons on some pages so if I use <button> then post passes ALL of the buttons and there's no way to decide which one has been pressed.
I could contain everything that requires a button in its own form but that would be very impractical for my application.
So far, my searches have turned up a lot of discussion, but not much in the way of a real solution.
As always, help is much appreciated.