Function keys

Discussion in 'Javascript' started by Larry Scoffield, Aug 20, 2003.

  1. 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
     
    Larry Scoffield, Aug 20, 2003
    #1
    1. Advertising

  2. Larry Scoffield

    steve stevo Guest

    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" <> wrote in message
    news:QgS0b.70$...
    > 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, Aug 21, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. sandeep Kanwal

    serial keys/validation keys

    sandeep Kanwal, Oct 29, 2004, in forum: C++
    Replies:
    1
    Views:
    599
    Mike Wahler
    Oct 29, 2004
  2. Harry George
    Replies:
    9
    Views:
    746
    sonal
    Jun 13, 2006
  3. Replies:
    10
    Views:
    757
    Daniel T.
    Feb 3, 2006
  4. alan
    Replies:
    3
    Views:
    382
    Victor Bazarov
    Nov 28, 2007
  5. A. Farber
    Replies:
    10
    Views:
    251
    A. Farber
    Jun 12, 2004
Loading...

Share This Page