HTML DOM 对象模型定义了一个具有属性Event的对象。target
查看 MSDN,Microsoft 记录了一个target属性。它们还记录srcElement为 Internet Explorer 早期版本的别名target:
target属性类似于Windows Internet Explorer 8 及更早版本中的srcElement。
所以我在 Internet Explorer 中,坐在click断点处:
<div class="day" onclick="divClick(this)">
function divClick(sender)
{
   var divCell = sender;
在F12 Tools控制台我可以请求全局event对象:
>> event 
{
    actionURL : "",
    altKey : false,
    altLeft : false,
    behaviorCookie : 0,
    behaviorPart : 0,
    bookmarks : null,
    boundElements : {...},
    button : 0,
    buttonID : 0,
    cancelBubble : false
    ...
} 
我可以要求event.srcElement对象:
>> event.srcElement 
{
    align : "",
    noWrap : false,
    dataFld : "",
    dataFormatAs : "",
    dataSrc : "",
    currentStyle : {...},
    runtimeStyle : {...},
    accessKey : "",
    className : "header",
    contentEditable : "inherit"
    ...
} 
但是event.target是空的:
>> event.target 
如果我看 event,没有target财产:

那么如何在 Internet Explorer 中访问对象的target属性event(9(文档模式:IE9 标准(浏览器模式:IE9)))?