jquery not() not working as expected
<pre><code>&lt;div class="row"&gt;
&lt;img src="images/image.png" width="30" height="30" alt=""/&gt;
&lt;a href="#"&gt;View&lt;/a&gt;
&lt;/div&gt;


$(".row").not(".row a").click(function(){

             // irrelevant
        })
</code></pre>

<p>I can't figure out why this isn't working. I don't want to call the function when "View" is clicked. </p>
