Community

Detecting (And Canceling) Key-Combo Events With jQuery

(Ben Nadel) The other day, I was trying to prevent a user from entering certain restricted characters in an input field. The approach was simple: detect which key was being pressed; and, if the key mapped to a restricted character, cancel the default event behavior, thereby preventing the input from

Read More - Register for Free Membership