Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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> */
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #td
ADD COMMENT
Topic
Name
3+1 =