Hi All,

This is the logic that I should implement:

1) I create markers with info windows containing links like <a
id="link_N" href="#">link</a>
where N is marker number

2) after all the markers created, I need to run a script that would
bind these links with some functions

3) to do this I run a jquery function like:

                         $('a[id^="link_"]').each(function(i){
                                links = $(this).attr('id').split('_');
                                assignNyro($j(this).attr('id'), links[1]);
                        });

The problem is that none of the marker info window links exist before
I click on a marker. So, my script does not work, because jquery
cannot find any links with id="link_N"

Is there any way around this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to