Connecting Tech Pros Worldwide Help | Site Map

Function keys

Larry Scoffield
Guest
 
Posts: n/a
#1: Jul 20 '05
I can capture the function keys, but I am unable to disable the function key
from being acted upon by the browser. For example the f5 key refreshes the
window.

Is there a way to cature the function key and keep Netscape or IE from
acting on the key pressed.

Larry


steve stevo
Guest
 
Posts: n/a
#2: Jul 20 '05

re: Function keys


you can detect by using
document.onkeypress
but the question is why would you want to do it ?
i would not be happy browsing your site if you were interfering with base
controls.




"Larry Scoffield" <larry@oneeternalround.com> wrote in message
news:QgS0b.70$LQ5.31573@news.uswest.net...[color=blue]
> I can capture the function keys, but I am unable to disable the function[/color]
key[color=blue]
> from being acted upon by the browser. For example the f5 key refreshes the
> window.
>
> Is there a way to cature the function key and keep Netscape or IE from
> acting on the key pressed.
>
> Larry
>
>[/color]


Closed Thread