I found this as an easiest way to add row . The awesome thing about this is that it doesn't change the already present table contents even if it contains input elements .
row = `
`
$("#table_body tr:last").after(row) ;
Here #table_body is the id of the table body tag .