title: Adding event listener on all $.goMap markers on the map
body: <p>I have been trying to add a click listener to every single marker on the map created with the jQuery extension $.goMap.</p>
  
  <p>This is how I load all the markers into the map:</p>
  
  <pre><code>$.getJSON('get_markers.php', function(data) {
      $.each(data, function(pair) {
          id = data[pair]['id'];
          $.goMap.createMarker({
              latitude: data[pair]['lat'],
              longitude: data[pair]['lng'],
              draggable: false,
              html: {
                  ajax: 'marker_description.php?q=' + id,
                  content: 'loading...'
              }
          });
      });
  });
  </code></pre>
  
  <p>I looked into the HTML to see if I could figure out the id or class of the markers, to then use jQuery to attach a click listener to all of them, but couldn't find them in my html markup.</p>