摘要: 1、字符串查找var str = "source_content10";if(str.indexOf("source_content") !== false){ alert("yes");}else{ alert("no");}【注意】indexOf的返回结果是被查找的字符在指定字符串中... 阅读全文
posted @ 2015-05-30 10:55 liwuming 阅读(123) 评论(0) 推荐(0) 编辑