|
-
Oct 7th, 2004, 01:06 AM
#1
Thread Starter
Frenzied Member
Execute event when return is entered
How do I execute an event when return is entered in a text field (instead of the user needs to click a button named "Login")
In VB it's something like using KeyPress, I remember...
Private Sub Text1_KeyPress(ByVal KeyAscii As Integer)
If KeyAscii = 13 Then
Response.Write("test")
End If
End Sub
But how do I validate what key is pressed?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|