<div class="row">
<img src="images/image.png" width="30" height="30" alt=""/>
<a href="#">View</a>
</div>
$(".row").not(".row a").click(function(){
// irrelevant
})
I can’t figure out why this isn’t working. I don’t want to call the function when “View” is clicked.
Use this: