code: function getEventTarget (event) {
    // W3C says it's event.target, but IE8 uses event.srcElement
    var target = event.target || event.srcElement || window.document
  
    // If an event takes place on an element that contains text, this text node,
    // and not the element, becomes the target of the event
    return target.nodeType === 3 ? target.parentNode : target
  }
docs: Info: http://www.quirksmode.org/js/events_properties.html