title: How can I get all descendant Elements for parent container?
body: <p>How can I get all descendant Elements for parent container? I want to get them in array.</p>
  
  <pre><code>&lt;div class="parent"&gt;
      &lt;div class="child1"&gt;
          &lt;span class="child2"&gt;
              &lt;div class="child3"&gt;
                  &lt;div class="child4"&gt;
                      &lt;span class="child5"&gt;&lt;/span&gt;
                  &lt;/div&gt;
                  &lt;div class="child6"&gt;
                      &lt;div class="class7"&gt;&lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/span&gt;
  
          &lt;div class="child8"&gt;&lt;/div&gt;
          &lt;span class="child9"&gt;
              &lt;div class="child10"&gt;&lt;/div&gt;
          &lt;/span&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I'm think about recursion as one of options. At the first point I know <code>parent</code> Element. </p>