Jquery gets a simple example of the dom fixed element add style
- 2020-03-30 01:35:34
- OfStack
<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>
xx = function(){
//$("#categories div").eq(6).css("color","#000000");
$("#categories div").eq(6).addClass("xxx");
}
</script>
<style>
.xxx{}
.xxx a{color:#ff0000;}
</style>