摘要: 1.anchor 方法 在对象中的指定文本两端放置一个有 NAME 属性的 HTML 锚点。 strVariable.anchor(anchorString) var strVariable = "This is an anchor" ; strVariable = strVariable.anch 阅读全文
posted @ 2017-07-17 00:03 原万里 阅读(1010) 评论(0) 推荐(0) 编辑
摘要: JavaScript正则方法 1.compile 编译一个正则表达式对象 rgExp.compile(pattern, [flags]) pattern字符串表达式 2.exec 在指定字符串中执行一个匹配查找。 rgExp.exec(str) str执行查找的string对象或者字符串文字 3.t 阅读全文
posted @ 2017-07-17 00:00 原万里 阅读(267) 评论(0) 推荐(0) 编辑