On Jan 29, 1:56 pm, Noah <[email protected]> wrote:
> This is likely more a problem in IE6 than google maps, but I'm hoping
> that someone could look at my example and tell me what I've done
> wrong.
>
> I want to load the map api asynchronously on my web page from some
> code that's called in the "onclick" handler of an anchor tag. In
> Internet Explorer 6, the api doesn't load, even though I can see that
> the file was downloaded (using fiddler). I'm confident that the
> handler is triggered, as I added an alert inside of the function. It's
> not just that the map isn't displaying properly; the api never loads
> (so GMaps2 is undefined, and the callback never happens).
>
> I have an example of the problem 
> here:http://brianhv.org/temp/dynamicloading.html
>
> Note that once it the API starts loading correctly via some other
> mechanism, it will work correctly via the onclick handler, even in
> subsequent pageloads, so you need to use a new instance of IE6 to
> exercise the problem.

It is executing this "javascript: ", if I change that to
"javascript:loadScript();" it works in IE6, at least locally.

 -- Larry

>
> Thanks for any help!
--~--~---------~--~----~------------~-------~--~----~
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