I'm needing jQuery to automatically give me the sum of the time in the input fields. I tried this but I can't get it to work for 24 hour times
$(document).on("change", ".qty1", function() {
var sum = 0;
$(".qty1").each(function(){
sum += +$(this).val();
});
$(".total").val(sum);
});
input {display: block;}
input.total {margin-top: 30px;}
<input type="text" class="qty1" value="" />
<input type="text" value="1:45" class="qty1" value="" />
<input type="text" value="1:45" class="qty1" value="" />
<input type="text" value="1:45" class="qty1" value="" />
<input type="text" value="1:45" class="qty1" value="" />
<input type="text" value="1:45" class="qty1" value="" />
<input type="text" class="total" value="" />