iPhone dev using Javascript to display map -


I am using JavaScript to maintain the current location and map

This is my code Is:

  & lt; Html & gt; & Lt; Top & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Div & gt; & Lt; Script type = "text / javascript" & gt; Navigator.geolocation.getCurrentPosition (function (status) {var latitude = status.cords.latidad; var longitude = position.coords.longitude; window.location = 'http://maps.google.com/maps?z=15& Q = '+ latitude +', '+ longitude; navigator.notification.lert (message,' over budget ',' dong! '); Alert (latitude); alert (longitude);}); & Lt; / Script & gt; & Lt; / Div & gt; & Lt; / Body & gt; & Lt; / Html & gt;  

However, nothing is working

thanks and a good day :)

C


Comments