How to select a HTML table column using jQuery
Here is a method for selecting a column in a table using the selector :nth-child(n)
. You could then do whatever you want to it, like hiding or highlighting it. An example use could be showing that a particular column has been sorted, instead of the more traditional method of showing some indicator on the header.
Continue readingHow to select a HTML table column using jQuery