Having code like this. need to prevent the div onclick when click on anchor tag.
<div onclick="window.open(url)">
<p>
.
.
.
</p>
<a href="link"/>
</div>
Not Duplicate question,here div tag has window.open(url), not js onclick function.