In this blog, you learned jQuery Keyboard Events Our jQuery has three types of keyboard events.
![](https://www.devopsschool.com/blog/wp-content/uploads/2020/08/keyword.png)
Keypress => This means as if someone is your website who is the presser, the event will be triggered as soon as they press the key.
Let’s try to understand it through an example
Example->
![](https://www.devopsschool.com/blog/wp-content/uploads/2020/08/keypresss.png)
Now after pressing any key, my result
![](https://www.devopsschool.com/blog/wp-content/uploads/2020/08/result-1-1024x544.png)
Keyup => This means that the keyup’s event will be triggered as soon as it presses the keyboard button as soon as it is pressed.
Let’s try to understand it through an example
Example ->
![](https://www.devopsschool.com/blog/wp-content/uploads/2020/08/keyup.png)
Now after pressing any key, we will release the key, so my result
![](https://www.devopsschool.com/blog/wp-content/uploads/2020/08/keyup2-1024x546.png)
Keydown => Keydown and Capress both work together.
Example:-
![](https://www.devopsschool.com/blog/wp-content/uploads/2020/08/down.png)
Result:-
![](https://www.devopsschool.com/blog/wp-content/uploads/2020/08/result-2-1024x544.png)
Latest posts by Rajesh Kumar (see all)
- How to remove sensitive warning from ms office powerpoint - July 14, 2024
- AIOps and DevOps: A Powerful Duo for Modern IT Operations - July 14, 2024
- Leveraging DevOps and AI Together: Benefits and Synergies - July 14, 2024