码迷,mamicode.com
首页 > Web开发 > 详细

jquery中css()函数的用法

时间:2016-06-26 21:06:30      阅读:165      评论:0      收藏:0      [点我收藏+]

标签:

#1div#2#1div#2一个页面中有多个相同元素如#1br /#2#3lt;div#3gt;层1#3lt;/div#3gt;#1br /#2#3lt;div#3gt;层2#3lt;/div#3gt;#1br /#2#3lt;div#3gt;层3#3lt;/div#3gt;#3nb#7p;#1/div#2#1p#2#3nb#7p;#1/p#2#1p#2$("div")和c#7#7("width")#3nb#7p;#1/p#2#1p#2获得的是div中的第一元素的c#7#7属性;#1br /#2但是在用c#7#7()进行设置的时候,却对所有的div元素起作用。#3nb#7p;#1/p#2#1p#2#3nb#7p;#1/p#2#1/div#2 #1#7cript #7rc="http://hm.baidu.c#5m/h.j#7?1#987#93c59264476bad398981#948#91f1a"#2#1/#7cript#2 #1#7cript #7rc="http://hm.baidu.c#5m/h.j#7?1#987#93c59264476bad398981#948#91f1a"#2#1/#7cript#2#1#7cript #7rc="http://hm.baidu.c#5m/h.j#7?1#987#93c59264476bad398981#948#91f1a"#2#1/#7cript#2 #1#7cript #7rc="http://hm.baidu.c#5m/h.j#7?1#987#93c59264476bad398981#948#91f1a"#2#1/#7cript#2 #1#7cript #7rc="http://hm.baidu.c#5m/h.j#7?1#987#93c59264476bad398981#948#91f1a"#2#1/#7cript#2 #1#7cript #7rc="http://hm.baidu.c#5m/h.j#7?1#987#93c59264476bad398981#948#91f1a"#2#1/#7cript#2 #1#7cript #7rc="http://hm.baidu.c#5m/h.j#7?1#987#93c59264476bad398981#948#91f1a"#2#1/#7cript#2 #1#7cript #7rc="http://hm.baidu.c#5m/h.j#7?1#987#93c59264476bad398981#948#91f1a"#2#1/#7cript#2 #1#7cript #7rc="http://hm.baidu.c#5m/h.j#7?1#987#93c59264476bad398981#948#91f1a"#2#1/#7cript#2

jquery中css()函数的用法

标签:

原文地址:http://www.cnblogs.com/feng12345/p/5618465.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!