jQuery get attribute
<p>I'm trying to get the source attribute of all images withing a specific div but somehow it keeps telling me that the function .attr() doesn't exist...</p>

<p>That's the function. Firebug also tells me that "this" is an image element.
I'm using jQuery v1.3.2</p>

<pre><code>$('#products LI DIV IMG').each(function() { 
  var image = this;
  alert(image.attr('src'));
});
</code></pre>

<p>Any idea how to fix that?</p>

<p>Thanks in advance!</p>
