how to trap keys in webpages pls help

  • how do i trap keys in webpages

    like my client wants the moment he presses enter key, focus should go to next control,textbox,etc,etc

    <a href="http://www.websolsoftware.com"> For IT jobs click here</a>

    *Sukhoi*[font="Arial Narrow"][/font]

  • As far as I know, you would have to use an ActiveX control.

  • better off doing it through the front end. I.e. the web pages itself.

    Private Sub Form_KeyPress(KeyAscii As Integer)

    If KeyAscii = vbKeyReturn Then

    KeyAscii = 0

    SendKeys "{TAB}"

    End If

    End Sub


    ------------------------------
    The Users are always right - when I'm not wrong!

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply