I would like to have a button with an X to the far right of each row every time it is created so that I can delete them once completed. How do I achieve this using the same JQuery method to create the rows? I tried the <tr>
but I'm not building a table using these tags.
Thanks for the help
var $button = $('#add-row'),
$row = $('.SigEvent').clone();
$button.click(function(){
$row.clone().insertBefore( $button );
});
});
<div class="Cell">
<input type="text" name="Sig[]" style="width: 99%" required class="UPPER" />
</div>