keydown
, keyup
Belongs to the keyboard events, input
it belongs to the text event
Detailed description:
keydown
: When the user presses any key on the keyboard trigger, if pressed, will trigger this event is repeated.keyup
: Fires when the user releases a key on the keyboard.input
: Triggered when the element content is changed, these elements refer to<input>
,<select>
,<textarea>
and specifycontenteditable
element attributes.
For example:
When we enter in a text box, in turn triggers the following events: keydown
Events -> input
Events -> keyup
Events.