href in attr not working
<p>Trying to swap images once a radio button is selected with the 2nd image being a link. The images are swapping successfully onclick, however the second image is not linking.</p>

<pre><code>&lt;script type="text/javascript"&gt;
$(document).ready(function() { 
  $('#chkImg').click(function() {
      if($('#chkImg:checked').val()!=null) {
          $('#imgImage').attr({ src: 'circle.png' , href: 'http://www.google.com' })
      }
  })
})
&lt;/script&gt;

&lt;input type="radio" name="chkImg" id="chkImg"&gt;
&lt;img id="imgImage" name="imgImage" src="square.png"&gt; &lt;/p&gt;
</code></pre>
