Quantcast
Viewing all articles
Browse latest Browse all 3804

Is there an equivalent to the desktop KeyDown event in web?

In the desktop version of an app I’m developing, I have some code in the keydown event on the username field which advances the user to the password field when enter is pressed:


If key = Chr(13) Or key = Chr(3) Then
//MessageBox (“Enter pressed in username”)
WindowLogin.txtPassword.SetFocus
End If

How can I do the same sort of thing in the web version? There doesn’t seem to be a keydown event available.

Thanks
Steve

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3804

Trending Articles