Why the ondblclick do not fire
-
Hi guys,
i just write a simply HTML file using Google Maps API
i have no idea why the ondblclick event do not work.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title>-Hello World-</title> <script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAABU4-7AyMK5njKPmdFyMxvhSYvcQyh1QIjDFxY4jbd4Iov9Uq0RSagtNN9ddzOdXpUugS9qsj6h4R3g" type="text/javascript"></script> <script src="OnLine.js" type="text/javascript"></script> </head> <body ondblclick="alert('Hello World')" > <div id="map" style="width:700px;height:600px"></div> </body> </html>
Anybody have any idea?
Thank you very much!