Answers for "jquery get ip"

0

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.
Posted by: Guest on April-12-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language