You can do something like
target = (event.currentTarget) ? event.currentTarget : event.srcElement;
Although as @Marc mentioned you can use a JQuery framework that normalizes the event for you.
More Related Contents:
- event.preventDefault() function not working in IE
- Jquery: change event to input file on IE
- 5 stars and the golden 5 stars are not together (When browsing with Internet explorer)
- Check if user is using IE
- What exactly is the parameter e (event) and why pass it to JavaScript functions?
- Intercept page exit event
- “this” keyword in event methods when using JavaScript prototype object
- JavaScript / jQuery: Test if window has focus
- Accessing an object’s property from an event listener call in JavaScript
- Dynamically loading css stylesheet doesn’t work on IE
- DOMNodeInserted equivalent in IE?
- Get index of clicked element in collection with jQuery
- Disabling the long-running-script message in Internet Explorer
- How to stop default link click behavior with jQuery
- JavaScript: DOM load events, execution sequence, and $(document).ready()
- javascript location.hash refreshing in IE
- Difference between document.addEventListener and window.addEventListener?
- How to know if .keyup() is a character key (jQuery)
- Remove key press delay in Javascript
- a script on this page is causing ie to run slowly
- How do I handle a click anywhere in the page, even when a certain element stops the propagation?
- Event propagation in Javascript
- How to trigger script.onerror in Internet Explorer?
- How can I use console logging in Internet Explorer?
- IE10/11 Ajax XHR error – SCRIPT7002: XMLHttpRequest: Network Error 0x2ef3
- IE’s toLocaleString has strange characters in results
- typeof returning “unknown” in IE
- innerHTML removes attribute quotes in Internet Explorer
- Blob download is not working in IE
- Internet Explorer full screen mode?