G
gferreri
Hi all,
I've stumbled on an interesting problem with the way Firefox handles
form submitting with the enter key.
I'm putting together a page that has one form element with multiple
controls with their own textbox field and submit imagebuttons. I've
set up each control in an asp
anel with their DefaultButton property
set to the proper button, so when the enter key is pressed, the proper
button event handler is triggered. This works in every case EXCEPT
when i submit the form in firefox, hit the back button, and hit enter
in the second text box. Firefox never calls the
WebForm_FireDefaultButton handler, and the server responds as though
the other button was clicked.
I'm thinking this has to do with the page caching that firefox
introduced with 1.5, but I have no clue how to work around this. Any
suggestions? Has anyone else seen this behavior?
I've stumbled on an interesting problem with the way Firefox handles
form submitting with the enter key.
I'm putting together a page that has one form element with multiple
controls with their own textbox field and submit imagebuttons. I've
set up each control in an asp

set to the proper button, so when the enter key is pressed, the proper
button event handler is triggered. This works in every case EXCEPT
when i submit the form in firefox, hit the back button, and hit enter
in the second text box. Firefox never calls the
WebForm_FireDefaultButton handler, and the server responds as though
the other button was clicked.
I'm thinking this has to do with the page caching that firefox
introduced with 1.5, but I have no clue how to work around this. Any
suggestions? Has anyone else seen this behavior?