apply style to table except cells in current column
<p>I need to be able to apply a style to all cells in the table, except cells in the current column.  </p>

<p>I am trying to do something like this but it does not seem to work. What am I missing?</p>

<pre><code>    var col = $(this).parent().children().index($(this));
    $("#myTable td:nth-child(:not(col-1))").addClass("myClass");

    &lt;table id="myTable"&gt;
    &lt;tr&gt;
        &lt;td&gt;col 1&lt;/td&gt;
        &lt;td&gt;col 2&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt;&lt;span class="click"&gt;click&lt;/span&gt;&lt;/td&gt;
        &lt;td&gt;&lt;span class="click"&gt;click&lt;/span&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;/table&gt;
</code></pre>
