2

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

MMM
  • 7,013
  • 2
  • 23
  • 42
Benjsoft
  • 149
  • 2
  • 10

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
  • 756,363
  • 169
  • 1,062
  • 1,111