2
<script src="http://maps.googleapis.com/maps/api/js?sensor=false&libraries=places" type="text/javascript"></script>
<script type="text/javascript">
function initialize() {
var tags_input = document.getElementById('tags');
var tag_autocomplete = new google.maps.places.Autocomplete(tags_input);
}
google.maps.event.addDomListener(window, 'load', initialize);
</script>
<div class="form-group wish-tags">
<label class="col-lg-3 control-label">Already visited:</label>
<div class="col-lg-8">
<input type="text" value="" data-role="tagsinput" id="tags" name="visited_tags" class="form-control">
</div>
</div>
是否有可能,谷歌自動填充API的應用上input.i嘗試這種代碼引導標籤,但它不是working..please指導我
什麼去ogle地址? –
Google自動填充API –
將函數調用放入document.ready() –