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.