Loading Google Maps API via AJAX, console error
问题 I'm building a fully dynamic website using jquery/javascript, ajax and php. When I click on a navigation link, the browser opens that page using ajax. So basically all pages are loaded within the same index.php. If I go to 'Location' tab, where I have a google map, it will load the Google Maps script dynamically (adding a script tag to the body). <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?v=3.exp&callback=initialize"></script> This script is loaded