I have an error in my code:
Uncaught TypeError: $(...).live is not a function
That code is for cloning when I click X button it should remove, but it doesn't and when I debug using F12 it gave me the error.
When I click the remove button the red one it would not remove
$('.remove').live('click', function(){
$(this).parent().parent().remove();
});
<td><a class="btn btn-danger remove"><i class="fas fa-times"></i></a></td>