D
Don W.
I need to use some function keys as speed-keys (instead of clicking a button
with the mouse.) Using this code doesn't display any codes for the function
keys:
<html><body>
<SCRIPT LANGUAGE="JavaScript">
document.onkeypress = Check_key;
function Check_key()
{
whichKey = String.fromCharCode(event.keyCode).toLowerCase();
alert(whichKey);
}
</SCRIPT>
</body></html>
How can I capture the pressing of the function keys?
Don W.
with the mouse.) Using this code doesn't display any codes for the function
keys:
<html><body>
<SCRIPT LANGUAGE="JavaScript">
document.onkeypress = Check_key;
function Check_key()
{
whichKey = String.fromCharCode(event.keyCode).toLowerCase();
alert(whichKey);
}
</SCRIPT>
</body></html>
How can I capture the pressing of the function keys?
Don W.