 <p>Once you get your DOM element, which I am assuming is what "el" is, you can simply use the getElementsByTagName() method to get the anchors. This will return an array of elements matching the tagname supplied. </p> <p>In your case it would be:</p> <pre><code>var anchors = el.getElementsByTagName('a'); </code></pre> <p>An example: <a href="http://jsfiddle.net/d3fs7g05/1/" rel="nofollow">http://jsfiddle.net/d3fs7g05/1/</a></p>