摘要:
1 .test()方法 检索字符串中指定值。返回true 或 false 2 .exec()方法 检索字符串中的指定的值。返回值是被找到的值,如果没有发现匹配,则返回null 3 正则表达式类型 /pattern/attributes 参数attributes是一个可选的字符串,常用属性‘g''i' 阅读全文
posted @ 2016-06-27 22:58
筱qian
阅读(295)
评论(0)
推荐(0)
摘要:
filtering过滤: .not('') 在所选元素集合中, 排除特定的元素 $( "li" ).not( ":even" ).css( "background-color", "red" ); .filter('') 在所选集合中,选定特定的元素;与.not( )相反; $("p").filte 阅读全文
posted @ 2016-06-27 17:28
筱qian
阅读(197)
评论(0)
推荐(0)

浙公网安备 33010602011771号