-
-
Save lelandsmith/eb80eeb30bdd2b9cb8789c1399b31f1d to your computer and use it in GitHub Desktop.
Custom Trigger Event
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
/* place inside function */ | |
jQuery.event.trigger('OverlayBoxonOpen'); | |
/* call custom event */ | |
$(document).bind('OverlayBoxonOpen', function () { alert('test') }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment