Hey there! I'm having an issue with a div that contains a link with an onclick event (see the code snippet). Inside this div, there is another link that goes to a different page than the div itself. The code works perfectly fine in IE, Chrome, and Firefox, but unfortunately not in Safari. In Safari, it always redirects to the whole div link instead of the intended other link. Do you have any ideas on how to fix this? I've tried some suggestions from other posts, but so far, nothing has resolved the issue for me.
<div class="coach-list" style="cursor: pointer;"
onclick="window.location='/page';if (!e) var e = window.event;
e.cancelBubble = true;
if (e.stopPropagation) e.stopPropagation();">
<div class="coach-list-inner">
<h4>Name</h4>
<p><a href="/otherpage" target="_blank">Link to other page</a></p>
</div>
</div>