jquery为数组设置事件

smcom_topNav类有十个dl标签,每个dl标签只有一个dd标签。
我想设置当鼠标停在dl上时,dd出现,鼠标出了dl,dd隐藏。

var dl=$('.smcom_topNav').children('dl');
    for(var i=0;i<dl.length;i++){
        $(dl[i]).bind('mouseover',function(){
            $(dl[i]).children('dd').show();
        });
    }
    for(var i=0;i<dl.length;i++){
        $(dl[i]).mouseout(function(){
            $(dl[i]).children('dd').hide();
        });
    }

http://mrthink.net/jquery-array-eachgrepinarray/

http://www.2cto.com/kf/201505/399887.html