Hi I was trying to add a row to a table using jQuery, but it is not working. What might be the reason?
And, can I put in some value to the newly added row..?
Add as first row or last row in a table
To add as first row in table
$(".table tbody").append("New row");
To add as last row in table
$(".table tbody").prepend("New row");