I am trying to add a row to a table. I found that we can use the clone() method to duplicate an existing row. My table has two text inputs in it in two different <
You can add this line after your given line to set the values of the input fields to blank:
$('#table-1 tr:last input').attr('value','');
or just:
$('#table-1 tr:last input').val('');