I'm trying to create a function that will add a row and merge the cells of every other column. So, you could have a column of 3 rows of cells, followed by a column with a single cell, followed by column of 3 rows of cells, followed by a column with a single cell, etc. This is some sample code I originally came up with:

Code:
$('#rowAdd').click(function() {
    $('#receiveTable tr:last').after('<tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr>');
    $('#receiveTable tbody tr:even').addClass('zebra');
});
I'm looking at the tbody tr:even line to see if I can adapt it to merge the newly added cells in every other column to the merged cell above it. Can someone give me an idea how to do this?