jQuery Intro

jQuery Intro Quiz

jQuery Intro Exercise

jQuery Basic

jQuery Basic Quiz

jQuery Basic Exercise

jQuery Advance

jQuery Advance Quiz

jQuery Advance Exercise

jQuery Selectors

jQuery Effects

jQuery Events

jQuery Methods and Properties

jQuery Traversing

jQuery CSS and HTML Methods

jQuery keydown() Method

jQuery keydown() Method



The keydown event is used to occur when a keyboard key is pressed down. It triggers the keydown event and we can attach a function to it.


Events order related to keydown event are:-


  1. keydown - The key is on its way down
  2. keypress - The key is pressed down
  3. keyup - The key is released




Its syntax is:- $(selector).keydown(function)


Further Explanation:-


Parameter Description
function Optional. Specifies the function to run when the keydown event is triggered

Code Explanation

All Tutorials related to jQuery Events

All Sections related to jQuery