title: HTML tables with different ID's are receiving sames value form AJAX callback
body: <p>This problem has driven me crazy!! Here is the situation, I have a callback data from my AJAX post method that I need to pass to different HTML table there will be 7 different tables. I have achieve to receive my data from the controller with the different objects.Earlier today i have made my first table which was working great, but when I want to pass value to different table with different data again from the ajax callback data both the table are receiving the same value even if the ID' are different even if there is no ID on the second one... Honestly this have driven me crazy. </p>
  
  <p>Here is my AJAX post METHOD with the callback data:</p>
  
  <pre><code>$(document).ready(
      function() {
        $('#call_back_btn').click(function() {
              $.post("/app_dev.php/AjaxSearch", {
                    person_name: $('#input_text').val()
                  },
                  function(data) {
  
                    objConnectors = data[0];
                    objContacts = data[1];
                    var ParseConnector = JSON.parse(objConnectors);
                    var ParseContacts = JSON.parse(objContacts);
                    var cycles;
  
                    for (cycles = 0; cycles &lt; ParseConnector.length; cycles++) {
                      $('tbodyCONNECTOR').append('&lt;tr&gt;' + ParseConnector[cycles].id + '&lt;/td&gt;&lt;td&gt;' + ParseConnector[cycles].n_c + '&lt;/td&gt;&lt;td&gt;' + ParseConnector[cycles].description + '&lt;/td&gt;&lt;/tr&gt;');
                    }
  
                    for (cycles = 0; cycles &lt; ParseContacts.length; cycles++) {
                      $('tbodyCONTACT').append('&lt;tr&gt;' + ParseContacts[cycles].id + '&lt;/td&gt;&lt;td&gt;' + ParseContacts[cycles].n_c + '&lt;/td&gt;&lt;td&gt;' + ParseContacts[cycles].description + '&lt;/td&gt;&lt;/tr&gt;');
                    }
                  }
  </code></pre>
  
  <p>As you can see there appends are different</p>
  
  <p>Here is the HTML :</p>
  
  <pre><code>div class="bs-example" data-example-id="panel-without-body-with-table"&gt;
      &lt;div class="panel panel-default"&gt;
          &lt;div class="panel-heading"&gt;Available connectors&lt;/div&gt;
          &lt;table id="Connectors"&gt;
              &lt;thead&gt;
              &lt;tr&gt;
                  &lt;th&gt;12NC&lt;/th&gt;
                  &lt;th&gt;Description&lt;/th&gt;
              &lt;/tr&gt;
              &lt;/thead&gt;
              &lt;tbody id="tbodyCONNECTOR"&gt;
  
              &lt;/tbody&gt;
  
          &lt;/table&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;div class="bs-example" data-example-id="panel-without-body-with-table"&gt;
      &lt;div class="panel panel-default"&gt;
          &lt;div class="panel-heading"&gt;Available Contacts&lt;/div&gt;
          &lt;table id="Contacts"&gt;
              &lt;thead&gt;
              &lt;tr&gt;
                  &lt;th&gt;12NC&lt;/th&gt;
                  &lt;th&gt;Description&lt;/th&gt;
              &lt;/tr&gt;
              &lt;/thead&gt;
              &lt;tbody id="tbodyCONTACT"&gt;
  
              &lt;/tbody&gt;
          &lt;/table&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Here are the two tables. 
  The value that I get is always the first value so: ParseConnector
  I'll highly appreciate any help!!! </p>