title: Checking whether the clicked column is first in the row or not
body: <p>wanted a Jquery code to check whether the clicked column is first in the Row or not. </p>
  
  <p>A table is being used for selecting certain options. And onclick, the background of the clicked td is shown (A tick Mark) by assigning a CSS class using jquery and removing that class from all the sibling td elements (one selection per row). </p>
  
  <p>The issue is that it should not do this on clicking the first column as it contains the Labels for  the option/question .</p>
  
  <p>the current code is as follows:</p>
  
  <pre><code>  $(document).ready(function () {
      $("table tr td").click(function () {
          $(this).parent().find('td').each(function () {
              $(this).removeClass("CheckMark");
          });
          $(this).addClass("CheckMark");
      });
  });
  </code></pre>
  
  <p>If the column is first, no action should be performed as it contains the Labels for option .</p>
  
  <p>Hope to have explained the situation adequately :).</p>
  
  <p>Kind regards,
  A.Ali</p>