<table>
<thead>
<th>N° Muestra</th>
<th>Peso LLenado</th>
</thead>
<tbody>
<?php for ($i=1; $i<11 ; $i++) { ?>
<tr>
<td><span id="<?='s'.$i?>"><?=$i?></span></td>
<td><input type="number" min="0" name="pLLen[]" class="llen"></td>
</tr>
<?php } ?>
</tbody>
</table>
$('.llen').keyup(function(){
var sum = 0;
$('.llen').each(
function(index, value){
if ($.isNumeric($(this).val())){
sum = sum + eval($(this).val());
}
}
);
$('#total').val(sum);
});