ratio lost the check when append new field
Hello
i have a problem i have a dinamic table that send form data to a table the only problem that i see is when i work with ratio input the selection is remove in the other items
$("#parentesconuevo").click( function(){
$('#table1').append('<tr><td></td><td></td><td></td><td></td><td></td><td></td><td><a href="#" class="delete">delete</a></td></tr>');
if ($('#estadoS').is(':checked')){
$('#table1 tr:last td:eq(3)').html('Si <input type="radio" name="estado[]" id="estadoS" value="1" checked class="rounded5"/><br/>No <input type="radio" name="estado[]" id="estadoN" value="0" class="rounded5"/>');
}else{
$('#table1 tr:last td:eq(3)').html('Si <input type="radio" name="estado[]" id="estadoS" value="1" class="rounded5"/><br/>No <input type="radio" name="estado[]" id="estadoN" value="0" checked class="rounded5"/>');
};
you could see on this page
thanks for your support