摘要: <html> <head> <meta http-equiv="content-type" content="text/html" charset="UTF-8"> <script type="text/javascript" > var picArr=new Array("1.jpg","2.jp 阅读全文
posted @ 2016-02-14 00:53 fgsfhds 阅读(128) 评论(0) 推荐(0) 编辑
摘要: RegExp 对象方法 使用test()方法进行模式匹配 test()方法用于对一个指定的字符串执行模式匹配,如果搜索到匹配的字符, 返回true,否则返回false var objExp=/\d/g; objExp.test("abc"); <script type="text/javascrip 阅读全文
posted @ 2016-02-14 00:25 fgsfhds 阅读(283) 评论(0) 推荐(0) 编辑