Flask Google Maps API Autocomplete Jquery Not Recognized
I want to implement the simple autocomplete function from google, as simple as in their example: Google Autocomplete Example I created a random html page and tested the code with m
Solution 1:
You're not calling the geolocate()
function in your html. I don't see how it will work on a single html page either.
From the googles example, you need to add this:
<div id="locationField">
<input id="autocomplete" placeholder="Enter your address"
onFocus="geolocate()" type="text"></input>
</div>
Also, as already discussed in the previous question, this is not a jQuery issue. And AFAIK Google APIs do work on localhost.
Can you perhaps tell what the developer console says. (Open page --> Open console log (f12 in chrome) --> refresh page)
Post a Comment for "Flask Google Maps API Autocomplete Jquery Not Recognized"