jQuery keyup() method

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
Studyopedia Editorial Staff

We work to create free tutorials for all.

No Comments

Post A Comment