Heim >Web-Frontend >js-Tutorial >Javascript合并表格中具有相同内容单元格示例_javascript技巧
效果图:
HTML代码:
a | 1 | 2 | 3 | 4 | 5 |
a | 1 | 2 | 3 | 4 | 6 |
a | 2 | 3 | 3 | 4 | |
b | 3 | 4 | 6 | 7 | |
b | 3 | 5 | 6 | 7 | |
cc | 2 | 3 | 4 | 5 | |
cc | 2 | 3 | 5 | 5 | |
d | 1 | 2 | 3 | 4 | |
e | 1 | 2 | 3 | 4 |
a | 1 | 2 | 3 | 4 | 5 |
a | 1 | 2 | 3 | 4 | 6 |
a | 2 | 3 | 3 | 4 | |
b | 3 | 4 | 6 | 7 | |
b | 3 | 5 | 6 | 7 | |
cc | 2 | 3 | 4 | 5 | |
cc | 2 | 3 | 5 | 5 | |
d | 1 | 2 | 3 | 4 | |
e | 1 | 2 | 3 | 4 |