//事件委托
oUl.|| window.event; var target = event.target || event.srcElement; if(target.nodeName.toLowerCase() === 'li'){ target.style.background = 'red'; }};
//事件委托
oUl.|| window.event; var target = event.target || event.srcElement; if(target.nodeName.toLowerCase() === 'li'){ target.style.background = 'red'; }};
相关课程