jQuery dont see onclick event on link inside infowindow in google maps v3

Posted by Charles on Stack Overflow See other posts from Stack Overflow or by Charles
Published on 2012-10-27T04:56:01Z Indexed on 2012/10/27 5:00 UTC
Read the original article Hit count: 127

Filed under:
|
|

i have such problem that jQuery onclick event dont see click on link inside google map in infowindow.

Thats how my infowindow link looks like:

<a href="http://example.com/#ui-accordion-accordion-header-7" class="pull-right move-to-acc" id="itemH">See Details</a>

Under map i have acordion list with detailed information about point so im trying to catch click on that link :

jQuery("#itemH").click(function(event){
    alert("qq");
    });

When i click on marker infowindow open and i click on link but alert dont show up - im just moved to div #ui-accordion-accordion-header-7

What im doing wrong ?

Thx for help

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about google-maps-api-3