📜  悬停动态元素上的 jquery - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:09.451000             🧑  作者: Mango

代码示例1
$(document).on("mouseenter", "li", function() {
    // hover starts code here
});

$(document).on("mouseleave", "li", function() {
    // hover ends code here
});