Last active
May 14, 2021 05:16
-
-
Save thebouv/38f91f81675aad85f15d to your computer and use it in GitHub Desktop.
Add event listener to item in a Google Maps API InfoWindow
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
google.maps.event.addListener(infowindow, 'domready', function() { | |
$(".schedulelunch").click(function(e) { | |
setCommunitySelected(e.currentTarget.dataset.communitynumber); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Awesome