Since 2 days now I'm struggling with a problem - when I include the google script in my site the onload event no longer works - when I remove or outcomment the script I get my alert dummy again. I'm pretty sure that I missed something obvious - but I seem kinda blind. Would be great if someone could point me in the right direction
<!DOCTYPE html PUBLIC "-//W3C//DTD xhtml 1.0 Transitional//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Tryout</title> <script type="text/javascript" src="http://maps.google.com/maps/api/ js?sensor=false"/> <script type="text/javascript"> function test() { alert("ME"); } </script> </head> <body onLoad="test();"> <div><button name="submitpoint" type="button"><div id="map_canvas"/ ></button></div> </body> </html> -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
