$("tr#header").after("<tr><td>new content</td></tr>");

if you use semantically correct table structure, you could just
prepend your new row to the top of the tbody, where it'd obviously be
after the header...

<table>
<thead>
<tr>
<th>Header</th>
</tr>
</thead>
<tbody>
<tr>
<td>Content</td>
</tr>
</tbody>

$("tbody").prepend("<tr><td>new content</td></tr>");

i'd assume these both should work...

--adam

Reply via email to