jQuery get attribute of an html element
<p>I have </p>

<pre><code>$(elements[current]).html(); 
</code></pre>

<p>that returns</p>

<pre><code>&lt;a href="#"&gt;&lt;img style="width:991px;height:230px;" src="img/image.jpg" alt="img"&gt;&lt;/a&gt;
</code></pre>

<p>and i need to get the element a href value only. how can i do this?</p>
