title: jquery count 2 values in the table..?
body: <p>i want to count the  value in my table and put the result to a div inside my Html document.</p>
  <p>What i have is the following code:</p>
  <pre><code>    var counter = 0;
  $(document).ready(function(){
      $('Table td').each(function(){
          if ($(this).text() === &quot;Nicht aktiv&quot;) counter++; 
          $(&quot;#log2&quot;).html(&quot;Nicht in Arbeit &quot; + counter);
      });
  });
  </code></pre>
  <p>I want to check:</p>
  <p>if this text === &quot;Nicht aktiv&quot; and
  if this text in another td is Test1</p>
  <p>Jquery or Javascript are not my main languages so i dont know, how i can solve this..</p>
  <p>I hope you guys can help me.. :)</p>