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