title: jQuery find img
body: <pre><code>&lt;img src="http://site.com/some/category/thread_17.jpg" /&gt;
  &lt;img src="http://site.com/other/thread_17.jpg" /&gt;
  </code></pre>
  
  <p>How to find the last image on the page, that have "<code>thread_</code>" after last "<code>/</code>" in its <code>src</code> attribute?</p>
  
  <p>Script should throw <code>src</code> to some <code>var</code>iable.</p>
  
  <p>Ajax is used to find the images on external page</p>
  
  <pre><code>$.ajaxQueue({
   url: link, 
   type: 'GET',
   success: function(data) {
    var src = $('.slide img', data).attr('src');
   }
  });
  </code></pre>
  
  <p>It gives attribute of the last image from <code>.slide</code> block.</p>
  
  <p>Thanks.</p>