title: Jquery check if data exist as a substring on an html table
body: <p>Check if data exist on an html table even if it is a substring.</p>
  
  <pre><code>var substring = 'find me'; //substring or data that you wanted to check
  
  var dataExist = [];
  
  $('table#tableID tr').each(function () {
      var arrayOfThisRow = [];
      var tableData = $(this).find('td');
      if (tableData.length &gt; 0) {
          if($(this).text().indexOf(substring) == -1)
              dataExist.push(true);
      }
  });
  
  console.log(dataExist.includes(true))
  </code></pre>