1
function wnw_set_google_autocomplete_my(){
jQuery(gaaf_fields_my).each(function(){
var autocomplete_my= new google.maps.places.Autocomplete(
/** @type {HTMLInputElement} */(this),
{ types: ['geocode'] });
// When the user selects an address from the dropdown,
// populate the address fields in the form.
});
}
jQuery(window).load(function(){
wnw_set_google_autocomplete_my();
});
链接:http://35.154.204.251/contact/谷歌自动完成Places API的错误InvalidValueError
我已经在WordPress安装了谷歌的自动完成地方API和我在控制台越来越InvalidValueError,我无法找出问题,因为每一件事情是对我看来很好。
由于做工精细:) – himanshuahuja
顺便说一句什么突破型点你用过的 – himanshuahuja