<div οnmοuseοver='fudong(event);'></div>
function fudong(e){
var ev = e || event ;
alert(ev.clientX+':'+ev.clientY) ;
}
<div οnmοuseοver='fudong(event);'></div>
function fudong(e){
var ev = e || event ;
alert(ev.clientX+':'+ev.clientY) ;
}
转载于:https://www.cnblogs.com/ooi-/p/3358775.html