title: Get all a elements inside td's from a div outside the table with Javascript
body: <p>I'm currently strugling of how to get all the <code>A</code> elements inside which are inside a <code>td</code> which is inside a <code>table</code> which is inside a repeated <code>div</code>.</p>
  
  <p>So this is the format of my html code</p>
  
  <p><a href="https://i.stack.imgur.com/eBmLH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eBmLH.png" alt="enter image description here"></a></p>
  
  <p>And i want each <code>a</code> element in a variable and below i'm going to click all these elements with a function that I have, but don't mind about that.</p>
  
  <p>So I've tried this</p>
  
  <pre><code>var scrl = document.getElementsByClassName("uiScrollableAreaContent");
  var circleditems = scrl[scrl.length-1].getElementsByClassName("_1pu2 _1pu4");
  </code></pre>
  
  <p>But it clearly doesn't get the <code>a</code> elements.
  Any idea of how to do it in Javascriot (not in jquery) ??</p>
  
  <p>Thanks a lot~</p>