JavaScript改变css属性选择器

2025-03-06 12:40:01
推荐回答(2个)
回答1:

div.onmouseover=function(){
this.className='css2';

}

回答2:

jquery 的attr()方法能帮到你