Selector for <a> in nested divs

Selector for <a> in nested divs

I am trying to select all <a> links in a div (id='mydiv')

The div is nested in other divs


I can select $('a') and my method works for all <a> in the document

How can I select all <a> for just my div, if it is nested in other divs?