Created
July 16, 2015 20:49
-
-
Save taniarascia/45887f5c8bcaa3ba3e26 to your computer and use it in GitHub Desktop.
Call a function with a click event with jQuery
This file contains 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
$(function() { | |
$('.classname').click(function() { | |
// Calling a function in case you want to expand upon this. | |
clickFunction(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment