使用Sina接口获取地址位置信息
<script type="text/javascript" src="http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js" charset="gb2312"></script> <script type="text/javascript"> var ss = remote_ip_info['country'] + remote_ip_info['province'] + remote_ip_info['city']; alert(ss) </script>
作者:freshman1987
出处:http://www.cnblogs.comfreshman1987/
本文版权归作者所有,欢迎转载,但未经作者同意不能转载,否则保留追究法律责任的权利。
出处:http://www.cnblogs.comfreshman1987/
本文版权归作者所有,欢迎转载,但未经作者同意不能转载,否则保留追究法律责任的权利。