Include the Javascript resources into you pages <head> section
<head> <script type="text/javascript" src="jquery-1.6.3.min.js"></script> <script type="text/javascript" src="jqIpLocation.js"></script> </head>
Add the Javascript that will returns you IP Location information in JSON format
$.jqIpLocation({
ip : '213.243.4.20',
success: function(location) {
// location.countryName;
// location.countryCode;
...
}
});
| Name | Default | Required | Description |
|---|---|---|---|
| ip | None | Yes | IP Address |
| Name | Description |
|---|---|
| location.countryName | Country Name |
| location.countryCode | Country Code |
| location.cityName | City Name |
| location.regionName | Region Name |
| location.latitude | Latitude |
| location.longitude | Longitude |
Like the jqIpLocation? Make a Donation!
Like the jqIpLocation? Make a Donation!
Comments