AJAX features in Windows Internet Explorer 8 like XDomainRequest (XDR) and Cross-Document Messaging (XDM) have native properties that might conflict with existing custom properties.

Windows Internet Explorer exposes new properties for certain AJAX features, such as Cross-Document Messaging (XDM), even in Compatibility View. If you add custom properties to the event object, they might conflict with these new properties, such as source.

The following code example works in older versions of Internet Explorer but not in newer versions because new features use the source property.

event.source = myObject;

The following code example shows how you can change this object to remain compatible.

event.mySource = myObject;// Read-only in IE8, use mySource instead

Related topics

Fixing Compatibility Issues in Web Applications by Using Compatibility View



Community Additions

© 2016 Microsoft