See code below. If I put "alert" before and after the "var" statement, first alert is executed, second is not. If I comment-out the "var" statement, second alert is then executed. This code works perfectly in HTML but not XHTML. What could be objectionable to XHTML?
<?xml version="1.0" encoding="UTF-8"?>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"/>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link href="default.css" rel="stylesheet" type="text/css"/>
</script>
<script type="text/javascript">
function initialize() {
var myLatlng = new google.maps.LatLng(50.391652,5.932534);