I have a form with multiple buttons. On post, I would like to get the id of the button that was actually pressed.
So for instance if button #2 is pressed, I need to be able to access the id for this button and then delete itemid 2:
<button name="button" value="DeletePollAnswer" id="Delete1">Delete</button>
<button name="button" value="DeletePollAnswer" id="Delete2">Delete</button>
Is this possible? How would you do that in the controler?
Thanks