M
Michael
Why does the following code give the alert in IE when most keys are
pressed, but not when the arrow keys are pressed? Both types of keys
trigger it in Netscape, but IE won't acknowledge arrow keypresses.
Please post reply here, I really appreciate the help.
<SCRIPT>
function keyboardEventHandler()
{
alert("Got it!");
}
</SCRIPT>
<BODY>
<SCRIPT>
document.onkeypress=keyboardEventHandler
</SCRIPT>
</BODY
pressed, but not when the arrow keys are pressed? Both types of keys
trigger it in Netscape, but IE won't acknowledge arrow keypresses.
Please post reply here, I really appreciate the help.
<SCRIPT>
function keyboardEventHandler()
{
alert("Got it!");
}
</SCRIPT>
<BODY>
<SCRIPT>
document.onkeypress=keyboardEventHandler
</SCRIPT>
</BODY