In this tutorial, we will discuss about how to bind multiple events with an element using jQuery. In this example, a paragraph binds with multiple events like click, mouseenter mouseleave, dblclick etc using 'bind' function. When any of the event occurs , the action associated with that event will fire. When mouse enter into it's area , it will change it's color and if we click inside it's area, it will display coordinates where it clicked. And also , if we double click inside it's area it will show a message.
When we click inside it's area :
When we double click inside it's area :
Recommend the tutorial