get each td value in jquery code example

Example 1: jquery for each tr in td

// tr is the jquery object
$(tr).find('td').each (function (index, td) {
  console.log(td)
});

// for each tr get each td

$('#tableContent tr').each(function(index, tr) {
  $(tr).find('td').each (function (index, td) {
    console.log(td)
  });
});

Example 2: jquery get td value

$(".item-model-number .value").each(function() {
  var value = $(this).text();
  console.log(value);
})

/* <table>
    <tr class="item-model-number">
      <td class="label">Item model number</td>
      <td class="value">GL552VW-CN426T</td>
    </tr>
  </table> */