On Dec 14, 1:24 pm, Brian <[email protected]> wrote: > I have a map that loads 20 or so points, each with an info window. > Inside the info window, I have custom markup, something along these > lines: > > <div class="tickets">Info about tickets goes here.</div> > > After the page/map loads, I want to go in and dynamically change this > text via jQuery: > > $('.tickets').each(function(){ > $(this).html('something else'); > > }); > > However, it doesn't find any .tickets elements on the page which I'm > assuming is to the fact that I need to bind the data when the maps > load, but I'm not sure how this can be done. > > Any help would be greatly appreciated.
The html in the infowindow is not part of the DOM until the infowindow has opened and rendered. For more help than that, I would need to see a link to your map that exhibits the problem (as requested in the posting guidelines...) -- Larry -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
