Hi,
I have a form that has several controls in a panel including several text boxes. The form is used to perform searches and then display results on the same page. In order to catch the Enter key being pressed, I've added a javascript onKeyDown() event to the panel. This event then executes a function that clicks the submit button. All controls, including the text boxes, fire the button click event fine, and the code executes as normal except in the case of the text boxes - nothing happens to the page in the end.
This problem only occurs in IE (everything works in FireFox)
Any ideas as to why this might be happening?
Thank you.
Ks.
I have a form that has several controls in a panel including several text boxes. The form is used to perform searches and then display results on the same page. In order to catch the Enter key being pressed, I've added a javascript onKeyDown() event to the panel. This event then executes a function that clicks the submit button. All controls, including the text boxes, fire the button click event fine, and the code executes as normal except in the case of the text boxes - nothing happens to the page in the end.
This problem only occurs in IE (everything works in FireFox)
Any ideas as to why this might be happening?
Thank you.
Ks.