Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; cronometro has a deprecated constructor in /home/wdrfree/public_html/model/admin/model.php on line 4
How to get geolocation in javascript | wdrfree ▷

How to get geolocation in javascript

Wednesday 08th, Nov, 2017 | #HTML 5 #Ajax #Plugins

Geolocation using API is a free (for the first 1,000 requests per day) IP information web service providing geolocation, hostname, organization and other data types. The API returns a JSON response containing data fields describing the specified IP. The API supports JSONP callbacks and can provide additional information through a paid service, such as proxy detection, scraping prevention, and improved geolocation accuracy.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

<html xmlns="">


        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

        <title>Documento sin título</title>

        <script src=""></script>

        <script type="text/javascript">

        	function getGeo(){

	        	$.get("", function (response) {






	<body onload="getGeo()">



Warning: include(view/ // ): failed to open stream: No such file or directory in /home/wdrfree/public_html/view/blog_detalle.php on line 274

Warning: include(): Failed opening 'view/ // ' for inclusion (include_path='.:/opt/cpanel/ea-php72/root/usr/share/pear') in /home/wdrfree/public_html/view/blog_detalle.php on line 274