Conditional Formatting of Cells
-
Hey there,
I want to do some conditional formatting on my tables, but I’m not sure how to go about it. For example on this page, I’d like the Type cells to be color-coded based on what is in the cell, and I’d also like the Title cells to share the same color as the Type cell next to it. Would Javascript be sufficient to do this? Or jQuery? I’m afraid I’m not too proficient with either.
I already have classes set up in CSS for these cells, which can change them individually. So basically I’d like some code that will identify the text within the td, and change the class of that td to the class I’ve created based on what the cell says. Does that make sense?
Really appreciate your help.
Jason
- The topic ‘Conditional Formatting of Cells’ is closed to new replies.