I have a table to which I am currently dynamically adding rows: http://jsfiddle.net/fmuW6/5/
Now I\'d like to add a new column to the table as well with a click of a
Check it out jsFiddle ............................. http://jsfiddle.net/fmuW6/8/
$(document).ready(function () {
$('#btnAdd').click(function () {
var count = 3, first_row = $('#Row2');
while(count-- > 0) first_row.clone().appendTo('#blacklistgrid');
});
$('#btnAddCol').click(function () {
$("#blacklistgrid tr").each(function(){
$(this).append("test ");
})
});
});