Access and hide column only for outer table
I have an outer table and want to hide second column, but not for the inner tables.
- $('.table-main td:nth-child(2)').hide();
The problem here is that all the inner tables second columns hides as well.
So how can I just hide the outer table called table-main and not all the tables within?