google.maps.event.addListener(marker2, 'click', function() {
infowindow2.open(map,marker2);
});
I need this function to be called on load of the page and not on click of marker2
I have seen Trigger click function on load however the syntax appears to be different. So i tried the following
I have tried several compinations, but can't seem to get the syntax right. could somebody please explain how to do this, and break down the code for myself and others to learn from
Thanks