How to get the first inner element?

Viewed 62208

So I want to get the first <a> tag in this <div>. This is really driving me nuts. Thanks for any help.

HTML

<div id="PGD" class="album" onmouseover="load(this)">
    <a class="dl" href="#">DOWNLOAD</a>
</div>

Javascript

function load(dl)
{  
    var ID = $(dl).attr('id');
    var elemnt = $('ID:first').attr('id'); 
}
3 Answers
Related