Log in

View Full Version : Pochet PC 2002 IE keypress


smalldady
02-08-2005, 01:21 AM
I'm trying to get the keypress on pocket pc 2002 internet explorer page.
Here's the code that does'nt work
<HTML>
<HEAD>
<TITLE>
Key code detector
</TITLE>
</HEAD>

<BODY onkeydown="jScript:ProcessLocalKeys();">

<SCRIPT Language="JScript">

<!--
function ProcessLocalKeys() {
window.alert("ASCII: " + event.keyCode);
return(false);
}
//-->
</SCRIPT>


Press a key and a message box will display the coresponding ASCII code.
</BODY>
</HTML>