参考代码里 这个e指的是什么哦
function mouseover(e){
var list = $('.Bbox li');
var target = $(e.target).parents('li');
list.removeClass('mark');
target.addClass('mark');
}
(function(){
var outer = $('.Bbox');
outer.find('li').on('mouseover', mouseover);
})()
function mouseover(e){
var list = $('.Bbox li');
var target = $(e.target).parents('li');
list.removeClass('mark');
target.addClass('mark');
}
(function(){
var outer = $('.Bbox');
outer.find('li').on('mouseover', mouseover);
})()
2020-02-15
举报