How can I add a new row to the specified table using jQuery?
3 answers
Just did it using this stackoverflow page:
$('.fw').append(
$('<tr/>').append( $('<td>').text('foo'))
)
Alternative shortcut:
$('.fw').append( $('<tr><td>foo</td></tr>') );
Checkout http://docs.jquery.com/Manipulation for more.
+1
source to share