jQuery Event Methods

jQuery allows you to attach an event handler for one or more events to the selected elements using on method.

Code :