Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Enter button in text box - executes but nothing happens

Status
Not open for further replies.

kcyxa

Programmer
Feb 28, 2007
6
CA
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.
 
It's probably the javascript. Try debugging the javascript and if you get any further problems ask in the javascript forum and provide an example of the rendered page.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top