title: find specific td background color
body: <p>I have a table row with 5 td's.</p>
  
  <p>I'm clicking the second td in the row. I'm getting the background color of that and comparing it to the background color of other td's in the same row.</p>
  
  <p>I want to compare against the 4th td in the row. When I do...</p>
  
  <pre><code>    console.log($(this).eq(3).css("background-color"));
  </code></pre>
  
  <p>I get "undefined"</p>
  
  <p>When I do</p>
  
  <pre><code>    console.log($(this).next().next().css("background-color"));
  </code></pre>
  
  <p>It returns the color.</p>
  
  <p>So how can I access the 4th td in the row specifically?</p>
  
  <p>Thanks</p>
  
  <p>edit: html as below</p>
  
  <pre><code>        &lt;table id="table-fixtures" class="table table-condensed table-fixtures"&gt;
          &lt;thead&gt;
              &lt;tr&gt;
                  &lt;th colspan="5"&gt;UPCOMING&lt;/th&gt;
              &lt;/tr&gt;
          &lt;/thead&gt;
          &lt;tbody&gt; 
              &lt;tr&gt;
                  &lt;td&gt;&lt;small&gt;07-01-2014&lt;/small&gt;&lt;/td&gt;
                  &lt;td class="team"&gt;Alice&lt;/td&gt;
                  &lt;td&gt;&lt;strong&gt;v&lt;/strong&gt;&lt;/td&gt;
                  &lt;td class="team"&gt;Bob&lt;/td&gt;
                  &lt;td&gt;&lt;small&gt;12:00&lt;/small&gt;&lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;        
                  &lt;td&gt;&lt;small&gt;07-01-2014&lt;/small&gt;&lt;/td&gt;
                  &lt;td class="team"&gt;Eve&lt;/td&gt;
                  &lt;td&gt;&lt;strong&gt;v&lt;/strong&gt;&lt;/td&gt;
                  &lt;td class"team"&gt;George&lt;/td&gt;
                  &lt;td&gt;&lt;small&gt;12:00&lt;/small&gt;&lt;/td&gt;
              &lt;/tr&gt;
          &lt;/tbody&gt;
      &lt;/table&gt;
  </code></pre>
  
  <p>edit:</p>
  
  <p>jquery function:</p>
  
  <pre><code>    $('td.team').click( function() {
  
           if ($(this).css("background-color") == clickColor) {
               console.log($(this).eq(3).css("background-color"));
               console.log($(this).next().next().css("background-color"));
           }
      });
  </code></pre>