Hello Microsoft Development Network,
I have come across a problem with cancelBubble() in Internet Explorer 11. The problem is that this function doesn't seem to work in IE11. The JavaScript that I use to prevent propagation of the default page when initiating a popup window is:
if (window.event) //this option for Internet Explorer
{
window.event.returnValue = false;
window.event.cancelBubble = true;
}
else if (e) //this option for other browsers
{
e.stopPropagation();
e.preventDefault();
}
I have re-tested this code in earlier versions of Internet Explorer and have had no problems. I have also tried to find out if anyone else has had similar difficulties, but to no avail. Please would someone be kind enough to tell me if the event handling mechanism in IE11 has been changed or if there is a known issue in IE11 with propagation suppression?
Thank you,
Charles Waldron.