I have an HTML table in which each row has two columns. The first column is the capital letter, and the second is the brand name:
A | Amazon
A | Apple
B | BMW
C | Chanel
etc .. But whenever there are two brand names that have the same first capital letter, I would like the table to look like this:
A | Amazon
| Apple
B | BMW
C | Chanel
In other words, if there are multiple instances of each capital letter, I would like to display only the first. If I applied the class to the first column, is there a way I could achieve this using jQuery?
source
share