2

What is the work-around to handle window.event.srcElement in Windows 8 and IE10?

MMM
  • 7,221
  • 2
  • 24
  • 42
Benjsoft
  • 157
  • 2
  • 11

1 Answers1

4

The official event object property to get the source element is event.target.

Since IE9, Microsoft is moving closer and closer to the official web standards.

Kind of related: How can I make event.srcElement work in Firefox and what does it mean?

Community
  • 1
  • 1
Felix Kling
  • 795,719
  • 175
  • 1,089
  • 1,143