SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: Key press event
-
Aug 6, 2007, 09:20 #1
- 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.....
-
Aug 6, 2007, 09:28 #2
- 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.
-
Aug 6, 2007, 10:26 #3
- 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