how to get ip with jquery code example
Example: jquery get ip
$.getJSON("https://api.ipify.org/?format=json", function(e) {
console.log(e.ip);
});
//Not included in the source, "api" can be changed to "api6" for IPv6
//addresses.
$.getJSON("https://api.ipify.org/?format=json", function(e) {
console.log(e.ip);
});
//Not included in the source, "api" can be changed to "api6" for IPv6
//addresses.