On Feb 10, 9:57 am, jey jey <[email protected]> wrote:
>
> when I give any values other than 0 it works for me. COuld you please
> help me to find out the reason, why this happening :(

Isn't this a basic Javascript problem? You pass zero as "it"; "it" is
decremented and so you attempt to click gmarkers[-1]. I don't expect
you have a marker with that index.

Andrew
--~--~---------~--~----~------------~-------~--~----~
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