Hello,
I want to determine which key is pressed in a editbox on a page hosted by
our own webserver. However on Windows Mobile 2003 the onKeypress event is
not triggered. Does anybody know why this code isn't working properly? If I
replace the onKeypress by onFocus the JavaScript is executed and an alert is
shown.
Kind regards,
H. Donkers
<HTML>
<HEAD>
<script language=JavaScript>
function ShowKey(){
alert('A key is pressed');
}
</script>
</HEAD>
<BODY>
TEST
<FORM>
<input type="TEXT" name="EDIT1" id="edit1" onKeypress="ShowKey()">
</FORM>
</BODY>
</HTML>