jQuery On Event - .on() Tutorial

Read the tutorial on YogiHosting »

1. Attach a Single Event - click

2. Attach Multiple events - click and mouseleave me

3. Attach event on dynamic element (future element)

This is div in blue

4. Attach Custom Event - click me

5. Attach multiple events with 'map' parameter - click or move mouse over me

6. Using 'data' parameter - Click Me

7. .off() method - Click Me