获取dom固定元素 添加样式。
<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>
获取dom固定元素 添加样式。
<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同步提交12-26
jQuery异步获取json数据方法汇总02-11
学习跨浏览器的事件08-25
网友评论文明上网理性发言 已有0人参与
发表评论: