jquery
文章平均质量分 61
编程牛逼编程人
从事java开发
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
jquery笔记
(obj).parent().find(“span:last”).html()(obj).parent().find(“span:last”).html() (obj):将DOM对象转化我jquery对象 .parent():找到父亲 .find(“span:last”):在父亲的所有儿孙当中找span标签且这个标签为最后一个 .html():取这个标签当中的HTML代码。(functi原创 2015-09-15 10:40:41 · 666 阅读 · 0 评论 -
JavaScript里的match和正则表达式
第一种 匹配字符串:<html><body><script type="text/javascript">var str="Hello world!"document.write(str.match("world") + "<br />")document.write(str.match("World") + "<br />")document.write(str.match("worlld原创 2016-06-01 09:43:20 · 1209 阅读 · 0 评论
分享