Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Bind up a couple of event handlers
- $("#foo").on({
- click: function(){ alert("Hello") },
- mouseout: function(){ alert("World") }
- });
- // Lookup events for this particular Element
- $._data( $("#foo")[0], "events" );
Add Comment
Please, Sign In to add comment