Skip to content
MoreOnFew

MoreOnFew

  • Home
  • Javascript
  • jQuery
  • CSS
  • HTML
  • Contact Us
  • Privacy Policy

keyCode

How to detect keycode / key pressed in jquery

September 26, 2022April 18, 2013 by moreonfew
jQuery Banner

Tracking a keyCode can be very helpful if you would like to give your visitors a user-friendly experience. For instance, if there is an overlay open on a page, I usually press the ESC (Escape) button to close the overlay and most of the sites nowadays respond to it and close the overlay. It wouldn’t … Read more

Categories jQuery Tags charCode, Escape Key, jQuery, keyCode, Keypress

Recent Posts

  • How to check if checkbox is checked in jQuery?
  • [Solved] Attempted import error: ‘Switch’ is not exported from ‘react-router-dom’
  • How to check if an element is hidden in jQuery?
  • How to remove a specific item from an array in JavaScript?
  • How to show ellipsis in CSS? Simple solution!

Categories

  • CSS
  • HTML
  • Javascript
  • jQuery
  • Home
  • About Us
  • Privacy Policy
  • Terms and Conditions
  • Contact Us
  • Sitemap
© 2022 MoreOnFew