title: Change only the clicked button to an new one
body: <p>I have a button inside a table row which changes with a boolean value.</p>
  
  <pre><code>&lt;tr id="&lt;?php echo $zeile['id'] ?&gt;" value="&lt;?php echo $zeile['id'] ?&gt;" class="task"&gt;
  &lt;td &gt;
  &lt;form method="POST" action="main.php" value="&lt;?php echo $zeile['id']; ?&gt;"&gt;
  &lt;?php if ($done == true): ?&gt;
      button type="submit" name="checkbtn" id='&lt;?php echo $zeile['id']; ?&gt;' &gt;                                          
         Check
      &lt;/button&gt;
      &lt;input type="hidden" name="id" value="&lt;?php echo $zeile['id']; ?&gt;"&gt;
  &lt;?php else: ?&gt;  
     &lt;button type="submit" name="uncheckbtn" id='&lt;?php echo $zeile['id']; ?&gt;'&gt;                                          
        UnCheck
     &lt;/button&gt; 
     &lt;input type="hidden" name="id" value="&lt;?php echo $zeile['id']; ?&gt;"&gt;  
  &lt;?php endif ?&gt;     
  
  
  &lt;/form&gt;
  
  &lt;/td&gt;
  </code></pre>
  
  <p>The boolean value is change after the button is clicked here for ('checkbtn' and 'uncheckbtn')</p>
  
  <pre><code>$done = true;
  
  if(isset($_POST['checkbtn'])){
      *sqlvariables*
      $done = false;
      *sql*
  }
  </code></pre>
  
  <p>with my jquery I want that I can click anywhere on the row to do a button click:</p>
  
  <pre><code>$(".table tr").on('click', function() {
          $(this).toggleClass('highlighttask');
          $(this).find('button[name="checkbtn"]').click();
      });
  </code></pre>
  
  <p>The Problem is that every button changes to unchecked if I click on one row.</p>
  
  <p>I think that I need to work with id's, but I don't know how.</p>