SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Key press event

  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2006
    Posts
    43
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Key press event

    Hi,

    I would like to ask if there is a key press event in javascripting. Let say, if user will press function keys F5 a link will be resembled. If it so, can you share the code. It is like an onclick event.

    Thanks.....

  2. #2
    SitePoint Zealot instereo9's Avatar
    Join Date
    Oct 2004
    Location
    california.
    Posts
    104
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    A simple Google search brought me this. Not sure if it's exactly what you're looking for, though.

  3. #3
    SitePoint Enthusiast
    Join Date
    Jul 2006
    Posts
    43
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the reply.

    Do you know a particular code for F5 or any other function keys in javascripting? Any idea, how I can put a key event. Let say when user press F5, certain link will be resembled and when F6 it will close the window. Is that possible in javascripting?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •