Function keys

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Larry Scoffield

    Function keys

    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

    #2
    Re: Function keys

    you can detect by using
    document.onkeyp ress
    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@oneetern alround.com> wrote in message
    news:QgS0b.70$L Q5.31573@news.u swest.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]


    Comment

    Working...