Javascript DOM Key Event

Javascript examples for DOM:Key Event

Description

Click the following links for the tutorial for DOM and Key Event.

  1. KeyEvent which Property - Convert the Unicode value into a character
  2. KeyEvent which Property - Check if the user presses the Escape key:
  3. KeyEvent which Property - Using onkeypress and onkeydown to demonstrate the differences between character codes and keyboard codes:
  4. KeyEvent which Property
  5. KeyEvent shiftKey Property
  6. KeyEvent metaKey Property
  7. KeyEvent location Property
  8. KeyEvent keyCode Property - Convert the Unicode value into a character


  9. KeyEvent keyCode Property - Check if the user presses the Escape key:
  10. KeyEvent keyCode Property - Using onkeypress and onkeydown to demonstrate the differences between character codes and keyboard codes:
  11. KeyEvent keyCode Property
  12. KeyEvent key Property - Check if the user presses the "A" key:
  13. KeyEvent key Property
  14. KeyEvent ctrlKey Property
  15. KeyEvent charCode Property - Convert the Unicode value into a character:
  16. KeyEvent charCode Property - Check keycode from key press event


  17. KeyEvent charCode Property - Get the Unicode value of the pressed keyboard key via charCode or keyCode property
  18. KeyEvent charCode Property
  19. KeyEvent altKey Property
  20. Calling an AJAX function using the Enter Key
  21. Get the keyCode for "$"
  22. Handle Key HIT/press event and check key code
  23. In key down event, add content to div according to text input field value
  24. Call method when enter key pressed anywhere in page
  25. Handle key down event on document
  26. check key code from event keyCode and which property
  27. detecting the keypress in javascript for IE, Netscape/Firefox/Opera
  28. Dispatching a key event with preventDefault
  29. Disable key event by returning false from onkeydown
  30. Check which key is pressed and which mouse button is click in onkeydown event
  31. Get key code from key event
  32. Display key code during pressing document
  33. Prevent Browser from refreshing when keypress is handled
  34. Switch on key code in key down event handler
  35. Push and reference key value pair using javascript
  36. Handle keydown event for input text field
  37. Using requestAnimationFrame with this keyword
  38. Check Different variable scoping using "let" keyword between browsers
  39. capture enter key press
  40. disable keyboard's ContextMenu function with javascript in webpage