InterviewSolution
Saved Bookmarks
| 1. |
Which property is used to specify the key type when pressed?(a) keyCode(b) keyType(c) keyName(d) keyProperty |
|
Answer» Correct option is (a) keyCode The best explanation: The keyCode property returns the Unicode character code of the key that triggered the onkeypress event, or the Unicode key code of the key that triggered the onkeydown or onkeyup event. The event object associated with these events has a numeric keyCode property that specifies which key was pressed. |
|