jquery中怎么取得发生事件的元素?

2025-05-15 10:19:07
推荐回答(1个)
回答1:

把事件绑定到元素上就行了

$("p").bind("mouseover",function(event){alert("ok");});

示例: