var event = window.event || arguments.callee.caller.arguments[0]; // 获取event对象 event = event.srcElement || event.target; var obj = event.srcElement ? event.srcElement : event.target;