Results 1 to 3 of 3

Thread: An easy one regarding <Input> and <Input type="Button">

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2000
    Location
    Québec, Canada
    Posts
    212

    Talking An easy one regarding <Input> and <Input type="Button">

    Ok ! Probably an easy one, but I can't get it to work !
    In Vb, when an user presses "Enter" on a textbox, you could intercept the KeyCode or KeyAscii then call a button sub, for example.

    How can I accomplish that in HTML ? How can I detect the user has pressed enter to fire a button_event ? A bit like Hotmail does when you hit enter after typing you login and automatically log you in without clicking on the button ?

    Thanks a lot !
    Regards,

    El-Nino

  2. #2
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Oct 2000
    Location
    Québec, Canada
    Posts
    212
    Exactly what I was looking for !
    Thanks a lot Sebs !
    Regards,

    El-Nino

Posting Permissions

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



Click Here to Expand Forum to Full Width