aaa thanks a lot :)

On 23. Aug, 04:50 h., Mike Williams <[email protected]> wrote:
> Wasn't it Cicik who wrote:
>
> >    GEvent.addListener(marker, "click",PageMethods.GetHTML(
> >                function(result) {
> >                    marker.openInfoWindowHtml(result);
> >                }));
>
> The third parameter of addListener should be a function, but the way
> you've written it the function gets called and its *result* is used as
> the third parameter.
>
> You might try rewriting it as:
>
>     GEvent.addListener(marker, "click", function() {
>       PageMethods.GetHTML(
>         function(result) {
>           marker.openInfoWindowHtml(result);
>         }
>       )
>     });
>
> --
> Mike Williamshttp://econym.org.uk/gmap
--~--~---------~--~----~------------~-------~--~----~
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