Level 102
Put it inside that document ready function from your topic?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
How Do I transform this click code bellow to actually load on document ready?
google.maps.event.addListener(marker, 'click', (function(marker, i) {
return function() {
infowindow.setContent('locations[i][0]);
infowindow.open(map, marker);
}
})(marker, i));
Please or to participate in this conversation.