发布时间:2013-07-22 18:22:03
http://www.w3schools.com/jsref/jsref_regexp_test.aspSyntaxRegExpObject.test(string)JS中正则表达式pattern写在两个顺斜杠之间 .ExampleDo a global search, and test for "Hello" and "W3Schools" in a string:var str="Hello world!";//look for "Hello"var patt=/Hello.........【阅读全文】
发布时间:2013-07-04 10:49:58
http://xuijs.com/jqtouchjosencha touchjquery mobilezepto......【阅读全文】
发布时间:2013-07-02 17:42:58
参考:http://stackoverflow.com/questions/9229645/remove-duplicates-from-javascript-array方法一:点击(此处)折叠或打开a = ["Mike","Matt","Nancy","Adam","Jenny","Nancy","Carl",1,2,3,1,2,3,4,5,6,7,8,1,2,3];b = {};for (var i = 0; i < a.length; i++.........【阅读全文】