JavaScript – geolocation.

This is a simple java script to take the geolocation and show it on webpage.
The example start with a default HTML 5 page and the part from tags scripts get the geolocation and using innerHTML is show on webpage.
To see the location then is need to use this: navigator.geolocation.getCurrentPosition.


born 1976, Falticeni , Suceava , Romania
Posted in All, HTML 5, javascript. Tagged with , , , , , .