jQuery keyup() method


Use the jQuery keyup() method to fire the keyup event i.e. when a keyboard key is pressed up.


The following is the syntax,

The following is the parameter for the keyup method,

  • func: When the keyup event is fired, this function runs. This is an optional parameter.


The following is the output,

The background color will change on pressing any key. On keyup, the color will change again.

jQuery keypress() method
jQuery mousedown() method
Studyopedia Editorial Staff
[email protected]

We work to create programming tutorials for all.

No Comments

Post A Comment

Discover more from Studyopedia

Subscribe now to keep reading and get access to the full archive.

Continue reading