Drop-down and Submit on Enter Key

Results 1 to 2 of 2

Thread: Drop-down and Submit on Enter Key

  1. #1
    Join Date
    Dec 1969

    Default Drop-down and Submit on Enter Key

    In our screen, Enter key submits the form. <BR>The problem is, when the drop-down value is selected, the focus stays on the drop-down. And even if Enter key is pressed, the submit is not happening. <BR>The submit happens if the focus is on any other field and the user hits Enter key. In the onChange event, we coded to lose focus of the drop-down. <BR>This is working except if the user selects the same value, onChange does not work. Does anybody have a solution?

  2. #2
    Join Date
    Dec 1969
    Los Angeles, CA

    Default NOT advanced

    Please post questions like this in the ASP Q & A forum<BR><BR>try the onclick event also, you dont want to do only that cause if a person user the keyboard to chagnge it will not fire again<BR><BR><BR><BR><BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts