您的位置:首页 > Web前端 > JQuery

jquery 获取dom固定元素 添加样式

2010-08-12 18:08 561 查看
<script type="text/javascript">
  xx = function(){
    //$("#categories div").eq(6).css("color","#000000");
  $("#categories div").eq(6).addClass("xxx");
  }
</script>
<style>
.xxx{}
.xxx a{color:#ff0000;}
</style>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  jquery function div