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="JavaS cript">
document.onkeyp ress = Check_key;
function Check_key()
{
whichKey = String.fromChar Code(event.keyC ode).toLowerCas e();
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="JavaS cript">
document.onkeyp ress = Check_key;
function Check_key()
{
whichKey = String.fromChar Code(event.keyC ode).toLowerCas e();
alert(whichKey) ;
}
</SCRIPT>
</body></html>
How can I capture the pressing of the function keys?
Don W.
Comment