惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

aimingoo的专栏
aimingoo的专栏
人人都是产品经理
人人都是产品经理
M
MIT News - Artificial intelligence
C
Cybersecurity and Infrastructure Security Agency CISA
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
爱范儿
爱范儿
Spread Privacy
Spread Privacy
P
Palo Alto Networks Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
T
The Blog of Author Tim Ferriss
The Cloudflare Blog
WordPress大学
WordPress大学
小众软件
小众软件
H
Help Net Security
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Blog — PlanetScale
Blog — PlanetScale
V2EX - 技术
V2EX - 技术
H
Hacker News: Front Page
Last Week in AI
Last Week in AI
D
DataBreaches.Net
V
V2EX
S
Securelist
C
CXSECURITY Database RSS Feed - CXSecurity.com
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
T
Tenable Blog
Cloudbric
Cloudbric
月光博客
月光博客
Y
Y Combinator Blog
博客园 - 三生石上(FineUI控件)
N
News and Events Feed by Topic
K
Kaspersky official blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
S
Secure Thoughts
S
Security Affairs
W
WeLiveSecurity
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
The Last Watchdog
The Last Watchdog
AI
AI
有赞技术团队
有赞技术团队
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 【当耐特】
罗磊的独立博客
Google DeepMind News
Google DeepMind News
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
N
Netflix TechBlog - Medium
PCI Perspectives
PCI Perspectives
SecWiki News
SecWiki News
IT之家
IT之家
Microsoft Azure Blog
Microsoft Azure Blog
V
Visual Studio Blog

博客园 - 碧海蓝天

SQL Server 附加数据库时报1813错误的解决方案 SQL Server连接数据库记录清除 CSS 滤镜 各大搜索引擎网站登录入口 Windows 7安装SQL2008的顺序 如何判断搜索引擎机器人(蜘蛛)有没有爬行你的站点? - 碧海蓝天 - 博客园 Windows服务端口大全 Kubuntu下root登录 用于中文 VS2008 的 Microsoft Silverlight Tools Beta 2发布 jQuery.ajax - 碧海蓝天 - 博客园 IE Version Vector - 碧海蓝天 主流浏览器引擎简介 IE、Firefox、Opera和Safari对CSS样式important和*的支持 - 碧海蓝天 - 博客园 Remoting和WebService有什么区别 今天俺也Hi了一把 Asp.net中DataBinder.Eval用法的总结 - 碧海蓝天 - 博客园 javascript refresh page jQuery Intellisense for Visual Studio 2008 Linux自动安装命名
验证手机号码的js代码
碧海蓝天 · 2008-03-05 · via 博客园 - 碧海蓝天

function ismobile(mobile){
    if(mobile.length!=11){
        alert('请输入合法的手机号码!');
        document.getElementById('mobile').focus();
        return false;
    }

    var myreg = /^(((13[0-9]{1})|15[0389]{1})+\d{8})$/;
    if(!myreg.test(mobile)){
        alert('请输入合法的手机号码!');
        document.getElementById('mobile').focus();
        return false;
    }
    return true;
}