Guest_imported
New member
- Jan 1, 1970
- 0
how do i detect a keypress in vbscript from a text box in a html form
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<HTML>
<HEAD>
<TITLE></TITLE>
<SCRIPT language=VBScript>
Sub text1_onkeypress()
MsgBox CStr(window.event.keyCode)
End Sub
</SCRIPT>
</HEAD>
<BODY>
<P><INPUT id=text1 name=text1></P>
</BODY>
</HTML>