Я пытаюсь загрузить Карты Google в свой Javascript, но я все равно получаю сообщение об ошибке «document.body is null». Может ли кто-нибудь помочь?Загрузка Google Maps
<html>
<head>
</head>
<body>
<div></div>
</body>
</html>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="https://www.google.com/jsapi?key=gfgfgfgfgfg"></script>
<script type="text/javascript">
$(document).ready(function() {
google.load('maps','3', {other_params: "sensor=false&callback=mapsLoaded&key=gfgfgfgfgf"});
});
function mapsLoaded()
{
alert("done");
}
</script>
похоже на http://stackoverflow.com/questions/8941923/getting-country-code-from-google-maps-and-html-5-geolocation – pdjota