Created
May 15, 2014 11:06
-
-
Save carlosrojaso/d9dcf561588baf6282b3 to your computer and use it in GitHub Desktop.
JQ Handling Events
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// When a user focuses on or changes any input element, we expect a console message | |
// bind to multiple events | |
$( "div" ).on( "mouseenter mouseleave", function() { | |
console.log( "mouse hovered over or left a div" ); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment