ReferenceError: event is not defined
TypeError: window.event is undefined
解决:
var e = window.event || arguments.callee.caller.arguments[0]
$(objDiv).css("left", e.clientX); $(objDiv).css("top", e.clientY + 10);
ReferenceError: event is not defined
TypeError: window.event is undefined
解决:
var e = window.event || arguments.callee.caller.arguments[0]
$(objDiv).css("left", e.clientX); $(objDiv).css("top", e.clientY + 10);