Jquery获取*IP

jQuery(function($){
    var url = 'http://chaxun.1616.net/s.php?type=ip&output=json&callback=?&_='+Math.random();  
    $.getJSON(url, function(data){
        alert(data.Ip);  
    });
});
原文地址:https://www.cnblogs.com/shcolo/p/3620865.html