会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
kevin
http://blog.csdn.net/helen_shw
首页
联系
订阅
管理
2013年11月15日
javascript去除首尾空白字符
摘要: if ( twocode.replace(/^\s+|\s+$/g,"")=="" ) { alert("二维码不能为空"); document.getElementById("twocode").focus(); return false; }
阅读全文
posted @ 2013-11-15 17:44 haiwei.sun
阅读(304)
评论(0)
推荐(0)
公告
返回顶部