28 users online (1 members and 27 guests)  


  Results 1 to 2 of 2

Related

  1. Replies: 1
  2. Submitting form without pressing "Enter"    Forum: HTML Forum
    Replies: 1
  3. Controlling Enter key in a form    Forum: HTML Forum
    Replies: 5
  4. Forms    Forum: HTML Forum
    Replies: 2
  5. Enter password    Forum: HTML Forum
    Replies: 3
  1. #1
    malonep's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2004
    Posts
    2

    Question ASP Forms - Enter Key

    Is there a way to make the enter key behave the same as the tab key on a asp/html form?

    thanks

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    ASP isn't going to help, unless you reload the page every time. You need javascript to capture client events.

    This thread has an example of capturing the enter key -

    http://javascript.about.com/library/scripts/blsubmitonenter.htm

    with a little adjustment, it could move focus to the next form element.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?



Tags for this Thread