怎么了?
$(document).ready(function (){
$('.navi-ring').hover(function(){
$(this).removeAttr("id"); // this doesnt work!
)};
)};
它不会删除 id!它应该会改变颜色,但它不会。
.navi-ring:nth-child(1):hover{
background-color:yellow;
它应该删除 ID(带有边框图像),但它没有。那么圆圈应该变成黄色。