$(document).mouseover(function(e){
var hoverDomObj = e.target;
}
//其中 e.target 为当前鼠标指向的dom对象,
如果想使用Jquey的属性只需要用$封装一下即可!
$(document).mouseover(function(e){
var hoverDomObj = e.target;
}
//其中 e.target 为当前鼠标指向的dom对象,
如果想使用Jquey的属性只需要用$封装一下即可!
打赏作者