Hello all,
I've got a question regarding
struts and HTML-Buttons.
As soon as I connect an event-handler (for example onclick) with the button which causes a submission of the surrounding form, the button's property itself is not set.
So it seems that the browser first handles the event handlers of an HTML element before it sets the appropriate values into the fields of the appropriate element (for me: the button)!
Is there any way to get the value of the button when submitting the form with an event handler connected to the button?
Currently I'm sending the button's value as a request parameter attached to the URL the event handler calls (not my favourite solution though)!
Many thanks in advanvce
Best Regards