开发者

Making sense of jquery - constructor error?

开发者_JAVA百科I'm pretty new to javascript, and has built a script that is working in webkit but not in firefox. When i check for errors in firebug, I get this:

google.maps.Geocoder is not a constructor
    $('.to, .from').geo_autocomplete(new google.maps.Geocoder, { 

what does it mean?


Your function starts when APIs are not completele loaded, or you are not loading them at all :) http://code.google.com/apis/ajax/documentation/ - Here is an example, hope this will help you.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜