[Solved] How to find certain text in HTML


Use this : get td with title=Title and traverse to its parent tr and get tr‘s 3rd and 6th child values.

$(document).ready(function(){
   $('tr td[title="Title"]').each(function(){
      var value1= $(this).parent().find('td:nth-child(3)').text();
      var value4= $(this).parent().find('td:nth-child(6)').text();
      alert(value1+" "+value4);
   });
 });

Demo

solved How to find certain text in HTML