CodeToFun
Learn Programming Free
Tutorials
Languages
Features
About
Sign In
Tutorials
Languages
Features
About
Sign In
Back
/
jQuery .on() Method
jQuery .on() with eventData — pass { foo: 'bar' } (Try It)
Try It
Run
Reset
Save
Save to Google Drive
Sync with your Google account
Download HTML
Save to your device
Share
Full
HTML Code
Copy
on eventData demo
Click me (bound with name: Karl)
Click me (bound with name: Addy)
Each paragraph uses the same handler with different eventData.
Lines:
0
| Characters:
0
Live Preview
Auto-refresh on Run