![]() |
Capture Key Press
The following code works for capturing key presses on IE, Netscape, Opera 7,and somewhat with Opera 6.
HTML Code:
<html> |
Re: Capture Key Press
Does it work with FF
|
Re: Capture Key Press
Oh! That can be fixed with changing line 7 to this
Code: javascript
|
Re: Capture Key Press
hi pradeep.
|
Re: Capture Key Press
Hi, Do i know you?
|
Re: Capture Key Press
no you dont know me
I am from aurangabad. |
Re: Capture Key Press
Can I help you out in some way?
|
Re: Capture Key Press
Hi i m rahul.Your promming excellent for everyone.
|
Re: Capture Key Press
Everyone, Please keep the discussion related to the article here and other discussions in the respective threads or create a new one.
|
Re: Capture Key Press
thanks for the code but it had a small bug in it which was when you press 2 keys very very fast it will capture 1 of them and the other just be ignored, I am personally using it to disable the Fx keys and the arrow keys etc... letting the user use only the alphanumeric keys...
here is what I did Code:
<script language="JavaScript">tnx alot for the code you gave out here, you really helped me and also thnx to pradeep for telling us how to make it work with FF too :) hope what I did helps you as much as what you did helped me :D |
Re: Capture Key Press
can i perform reverse operation using KeyCode.
i am giving Some Keycode Separated with comma (','). can you give me result of it. and how to get this result. 72,69,76,76,79,8,8,8 mine expected result is "hi" |
Re: Capture Key Press
mine expected result is "he"
|
| All times are GMT +5.5. The time now is 00:34. |