How to pass a jQuery event as a parameter in a method?

To pass a jQuery event as a parameter in a method, use the bind() method.

Example

You can try to run the following code to learn how to apss a jQuery event as a parameter:

Live Demo









Updated on: 2019-12-11T07:36:38+05:30

3K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements