会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Sakuya
Always believe that design can save your country and change the world
订阅
管理
2013年4月22日
JS 判断是否包含的写法
摘要: var text = "abcdefg"; if(text.indexOf("a") > 0 ) { alert("包含"); }
阅读全文
posted @ 2013-04-22 17:47 愤怒的牙签
阅读(427)
评论(0)
推荐(0)
公告