I have a form that should be keeping a running total cost but keyup is not working in the second field. (Note the second field and following fields can be dynamically generated and those do not work either.)
$('.price').keyup(function () {
    var sum = 0;
    $('.price').each(function() {
        sum += Number($(this).val());
    });
    $('#totalPrice1').val(sum);
});
Here's the full JSFiddle: https://jsfiddle.net/statk7y1/
Any help/suggestions would be greatly appreciated. Thx.
 
    