Add Column to table with jQuery

html-table, javascript, jquery

Solution

you can do like this

 $('#tutorial').find('tr').each(function(){
        $(this).find('td').eq(n).after('<td>new cell added</td>');
   });

n can be replaced by the number after which column you want to add new column

Problem

Is it possible to add a column to an existing table like this: ``` <table id="tutorial" width="600" border="0"> <tr> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> </tr> </table> ``` with js?

Original source