.keydown()


.keydown( handler )Returns: jQueryversion deprecated: 3.3

Description: Bind an event handler to the "keydown" event, or trigger that event on an element.

This API is deprecated.

Instead of .keydown( handler ) or .keydown( eventData, handler ), use .on( "keydown", handler ) or .on( "keydown", eventData, handler ), respectively.

Instead of .keydown(), use .trigger( "keydown" ).