How to execute ONGHANGE event before "ENTER" submit event if no object has focus yet.
Im executing a ONCHANGE event to update a hidden field so that a search results
page will know what page of a query to display. When you change the text
in text input field, click on another space on page and then press enter
it works fine (the event puts focus on the submit button that needs to be
clicked), If however you change the textbox contents and press enter .. some
event is executed and a page request is already sent to the server before
the ONCHANGE event has been executed to update the Hidden field and set the
focus to the Submit button.
If possible, please assist me with this issue.
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