js鼠标移入移出

<script>
bb=document.getById('aa');

bb.onmouseenter=function(){
this.style.background='#ccc';
}
bb.onmouseleave=function(){
    //
}
隐藏