$(document).ready(function(){
$.getJSON(“http://ip-api.com/json”, function (data) {
var country = data.country;
alert(country);
});
});
Get the location, city, country and other information related to your IP address with this free service.
$(document).ready(function(){
$.getJSON(“http://ip-api.com/json”, function (data) {
var country = data.country;
alert(country);
});
});
Get the location, city, country and other information related to your IP address with this free service.