title: jQuery - how to find a table inside a div
body: <p>I have the following jsp </p>
  
  <pre><code>&lt;div class="content" id="divContent"&gt;
      &lt;ul class="ul-content ui-sortable" id="content" style="padding-left: 10px; max-width: 920px;"&gt;
          &lt;li class="draggable freetext ui-draggable ui-draggable-handle content-element" style="width:; height:; overflow: auto;"&gt;
              &lt;div class="element-content"&gt;
                  &lt;div class="questiontitle elementtitle" id="58f95b7f-c127-7e40-a3a7-5253ed32fc31"&gt;
                      &lt;table&gt;
                          &lt;tbody&gt;
                              &lt;tr&gt;
                                  &lt;td&gt;
                                      &lt;span class="optional1"&gt;(Opcional  )&lt;/span&gt;
                                  &lt;/td&gt;
                                  &lt;td&gt;New Freetext Question&lt;/td&gt;
                              &lt;/tr&gt;
                          &lt;/tbody&gt;
                      &lt;/table&gt;
                  &lt;/div&gt;
                  &lt;input class="freetext" type="text" readonly="readonly"&gt;
                  &lt;div class="questionhelp"&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/li&gt;
      &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I want to find the table inside the div  </p>
  
  <pre><code>&lt;div class="questiontitle elementtitle" id="58f95b7f-c127-7e40-a3a7-5253ed32fc31"&gt;
  </code></pre>
  
  <p>I wrote the code:</p>
  
  <pre><code>var contentDivTable = $(contentDiv).find('tr');
  var numerocontentDivTable = contentDivTable.length;
  console.log('additem after addfreetext contenDiv  number table ',numerocontentDivTable);
  </code></pre>
  
  <p>This is the trace in browser's console</p>
  
  <pre><code>additem after addfreetext contenDiv  [object HTMLDivElement]
  "additem after addfreetext contenDiv "
  &lt;div class="questiontitle elementtitle" id="146b750d-18e8-b8a5-a34d-082c9bd04e0d"&gt;New Freetext Question&lt;/div&gt;
  additem after addfreetext contenDiv  number table  0
  </code></pre>
  
  <p>How can I get the element table?</p>