js根据IP地址判断城市
var province = '' ;
var city = '' ;
jQuery.getScript("http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js",function(){
province = remote_ip_info["province"];
city = remote_ip_info["city"];
alert(city)
}) ;
var province = '' ;
var city = '' ;
jQuery.getScript("http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js",function(){
province = remote_ip_info["province"];
city = remote_ip_info["city"];
alert(city)
}) ;