Created
December 17, 2014 20:08
-
-
Save DawnPaladin/9d31899a64635ad59ebe to your computer and use it in GitHub Desktop.
Bind myFunction to an event handler and pass myArgument to it
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
jQuery('#element').click({param1: myArgument }, myFunction); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not foolproof. Sometimes this works better: