Jquery 获取IP地址

//获取ip和地址
$(function () {
    var url = 'http://chaxun.1616.net/s.php?type=ip&output=json&callback=?&_=' + Math.random();
    $.getJSON(url, function (data) {
alert(data.Ip++"&"+data.Isp);
}

 

posted @ 2015-07-15 16:55  逍遥帝君  阅读(4997)  评论(0编辑  收藏  举报