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

推荐订阅源

博客园 - 三生石上(FineUI控件)
Martin Fowler
Martin Fowler
月光博客
月光博客
AI
AI
B
Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
C
CXSECURITY Database RSS Feed - CXSecurity.com
WordPress大学
WordPress大学
GbyAI
GbyAI
L
Lohrmann on Cybersecurity
O
OpenAI News
Schneier on Security
Schneier on Security
P
Palo Alto Networks Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Troy Hunt's Blog
V2EX - 技术
V2EX - 技术
W
WeLiveSecurity
L
LINUX DO - 最新话题
人人都是产品经理
人人都是产品经理
S
Security Affairs
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
A
Arctic Wolf
Recorded Future
Recorded Future
Microsoft Security Blog
Microsoft Security Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
G
GRAHAM CLULEY
N
Netflix TechBlog - Medium
TaoSecurity Blog
TaoSecurity Blog
C
Check Point Blog
Scott Helme
Scott Helme
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Apple Machine Learning Research
Apple Machine Learning Research
PCI Perspectives
PCI Perspectives
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Vercel News
Vercel News
The Hacker News
The Hacker News
Y
Y Combinator Blog
Latest news
Latest news
SecWiki News
SecWiki News
Hugging Face - Blog
Hugging Face - Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Google Online Security Blog
Google Online Security Blog
Webroot Blog
Webroot Blog
Google DeepMind News
Google DeepMind News
Recent Commits to openclaw:main
Recent Commits to openclaw:main
C
Cisco Blogs
博客园_首页
H
Hackread – Cybersecurity News, Data Breaches, AI and More
宝玉的分享
宝玉的分享
L
LINUX DO - 热门话题

博客园 - 碧海蓝天

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;
}