Default button for ENTER key

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • AR John

    Default button for ENTER key

    Hi everyone,

    On a html page I have some input boxes and few buttons. On that page
    if user hits ENTER key at any time, it will have a specific to be
    defaulted to invoke [like default=true of Command Button in Visual
    Basic]. Is same effect possible in HTML? how?

    Thanks
    AR
  • Keith Bowes

    #2
    Re: Default button for ENTER key

    AR John wrote:[color=blue]
    >
    > On a html page I have some input boxes and few buttons. On that page
    > if user hits ENTER key at any time, it will have a specific to be
    > defaulted to invoke [like default=true of Command Button in Visual
    > Basic]. Is same effect possible in HTML? how?
    >[/color]

    What do you mean? Do you want ENTER to not submit a form (not a good
    idea)? Or do you want to be able to cancel submission under certain
    circumstances?

    Comment

    Working...