使用淘宝接口
发送ajax请求。
$.ajax({
type: "get",
url: 'http://tcc.taobao.com/cc/json/mobile_tel_segment.htm?tel='+tel, //tel为你输入的号码
dataType: "jsonp",
jsonp: "callback",
success: function(data){
data.province;//地区
data.catName, //运营商
},
error:function(){}
})