title: Jquery click function to print href question
body: <p>I have a print icon, using Jqueryui that I am trying to integrate with a Jquery print plugin called jqprint. I want to print the href when the icon is clicked</p>
  
  <p>Html is:</p>
  
  <pre><code>&lt;div class="item"&gt;
  &lt;a href="slides/image.jpg" title="Image"&gt;&lt;img src="thumbs/image.jpg" /&gt;&lt;/a&gt;
  &lt;&lt;span class="printImage ui-icon ui-icon-print" title="Print Image"&gt;&lt;/span&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Button code:</p>
  
  <pre><code>$("span.printImage").live('click', function() {
  $('.item a[href]').jqprint();
  return false;
  });
  </code></pre>
  
  <p>This code prints the entire page of thumbnails, not the href for that particular ".item" .
  Any help would be appreciated. I am using live because I have some dynamic changes happening  on the page.</p>