如何解決第一條評論所提出的問題?
將$('#test')改為$('#test li')鼠標(biāo)移到列表項(xiàng)上才觸發(fā)后面的函數(shù)
同時.on('mouseenter',‘li’function(e) {)}修改為.on('mouseenter',function(e){})
將$('#test')改為$('#test li')鼠標(biāo)移到列表項(xiàng)上才觸發(fā)后面的函數(shù)
同時.on('mouseenter',‘li’function(e) {)}修改為.on('mouseenter',function(e){})
2017-08-07
舉報(bào)
2017-08-28
分開寫,前面是$('#test li').on("mouseenter",function(e){sub.removeClass("none")}),
后面是$("#text").on("mouseenter","li",function(e)