I am working with a simple table that has TDs assigned either the 'PLUS' or 'MINUS' class.
My goal is to use jQuery to implement functionality for collapsing all or expanding all.
When the Expand All button is clicked, I need to change the 'PLUS' class to 'MINUS' for all TDs currently having the 'PLUS' class.
Conversely, when the Collapse All button is clicked, I should replace the 'MINUS' class with 'PLUS'.
I am struggling with identifying all TDs with the 'PLUS' class and iterating through them to modify their classes.
If anyone has any suggestions, please let me know. Thank you!