jquery获取dom固定元素添加样式的简单实例_jquery
来源:动视网
责编:小采
时间:2020-11-27 21:19:17
jquery获取dom固定元素添加样式的简单实例_jquery
jquery获取dom固定元素添加样式的简单实例_jquery: xx = function(){ //$(#categories div).eq(6).css(color,#000000); $(#categories div).eq(6).addClass(xxx); }.xxx{}.xxx a{color:#ff0000;}
导读jquery获取dom固定元素添加样式的简单实例_jquery: xx = function(){ //$(#categories div).eq(6).css(color,#000000); $(#categories div).eq(6).addClass(xxx); }.xxx{}.xxx a{color:#ff0000;}

xx = function(){
//$("#categories div").eq(6).css("color","#000000");
$("#categories div").eq(6).addClass("xxx");
}
script>
jquery获取dom固定元素添加样式的简单实例_jquery
jquery获取dom固定元素添加样式的简单实例_jquery: xx = function(){ //$(#categories div).eq(6).css(color,#000000); $(#categories div).eq(6).addClass(xxx); }.xxx{}.xxx a{color:#ff0000;}