I use nth-child in my jquery selector to determine the columns to change. I have 5 columns (1-5) and I want to change only 2,3 and 4. Is there a way to do this with nth-child? Sort of:
$('#example tbody tr td:nth-child(2||3||4)')
I tried several combinations, but nothing works. Im pretty new to jQuery selectors any help you could pounce on me would be greatly appreciated.
Regards, Joe Chin
source
share