Search the web
Sign In
New User? Sign Up
yws-maps-ajax · | Yahoo! Maps Ajax API
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Load Yahoo script dynamically   Message List  
Reply | Forward Message #241 of 257 |
hi all,

I met a problem when I dynamically load Yahoo map script,

var e = document.createElement("script");
e.src =
"http://api.maps.yahoo.com/ajaxymap?v=3.8&appid=YD-eQRpTl0_JX2E95l_xAFs5UwZUlNQh\
hn7lj1H
";
e.type = "text/javascript";
document.getElementsByTagName("head")[0].appendChild(e);

then, I can get the YAHOO variable but not YAHOO_MAP_REG. It seems the scripts
in http://api.maps.yahoo.com/ajaxymap?v=3.8 is not loaded.

Would you please give me some suggestions? And is there any workaround?

Thanks,
Arthur




Thu Aug 6, 2009 8:30 am

liu.arthur...
Offline Offline
Send Email Send Email

Forward
Message #241 of 257 |
Expand Messages Author Sort by Date

hi all, I met a problem when I dynamically load Yahoo map script, var e = document.createElement("script"); e.src =...
liu.arthur@...
liu.arthur...
Offline Send Email
Aug 6, 2009
8:31 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help