event出现undefind错误
解决方法:
$('#normalImgDiv').mousemove(function (e) {
var e = window.event || e; var pointX = e.pageX; var pointY = e.pageY; console.log(pointX); })本文共 224 字,大约阅读时间需要 1 分钟。
event出现undefind错误
解决方法:
$('#normalImgDiv').mousemove(function (e) {
var e = window.event || e; var pointX = e.pageX; var pointY = e.pageY; console.log(pointX); })转载于:https://www.cnblogs.com/webwangjie/p/6886001.html