I've looked on the net for a solution, but I couldn't find one.
The problem is, I want to use an image as a button. I've used a simple solution with the <html:image /> -tag and thus far, it worked fine. But in Firefox we've encountered a problem with the reset button. There's a html-form, with two "buttons" (<html:image />-tags) for reset and form (the reset button comes first). For the reset button, we've just put some javascript in the onclick-method, to reset the form. The problem is that in Firefox, if you press enter in a textfield, he executes the first button he can find, which is the reset-button. Is there a workaround for this? Switching them is not an option, because we're migrating an existing application and the UI has to be exactly the same. Björn De Bakker This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.