My goal is to use jQuery to retrieve a specific table column. Currently, I have code that selects the first column like this:
table.find(tr > td:first-child)
However, my ultimate objective is to select any column so that I can copy it to another table. Is there a way to achieve this using something like:
td:n-child
This way, I could input the column number and retrieve all the data from that particular column.