-
Enter button in Text Box - executes with no results
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.
-
If you are using ASP.NET v2 you can use the DefaultButton property of the panel control.
http://msdn2.microsoft.com/en-us/lib...ultbutton.aspx
-
Unfortunately, I'm using v1...
Similar Threads
-
By parin_therock in forum VB Classic
Replies: 0
Last Post: 03-04-2005, 09:04 AM
-
By Patrick Ireland in forum .NET
Replies: 2
Last Post: 07-22-2002, 02:36 PM
-
Replies: 1
Last Post: 11-27-2001, 06:53 AM
-
Replies: 2
Last Post: 05-18-2000, 04:08 AM
-
By Javaid Ahmad in forum VB Classic
Replies: 0
Last Post: 04-13-2000, 11:46 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks