jQuery Thickbox and Google Maps Extinfowindow

Posted by cdonner on Stack Overflow See other posts from Stack Overflow or by cdonner
Published on 2009-06-02T18:59:19Z Indexed on 2010/03/11 18:19 UTC
Read the original article Hit count: 688

Filed under:
|
|

I am trying to place a link into an Extinfowindow that obtains its content through an Ajax call. So, I click on a push pin marker, up pops the Extinfowindow with my ThickBox link in it, and when I inspect the DOM for the entire page at that point, I can see the element correctly showing up with the "thickbox" class. The link looks like this

<A class="thickbox" title="" href="http://localhost:1293/Popup.aspx?
height=200&width=300&modal=true">Modal Popup</A>

However, when I click on it, it does a full refresh and the target page loads in the browser, not in a popup. It seems that when the <A> for the Thickbox control is injected into the DOM after the initial load, jQuery is no longer able to do its magic and intercept the anchor link request. Does anybody have thoughts about how to do this better?

© Stack Overflow or respective owner

Related posts about thickbox

Related posts about google-maps