I am trying to get the lowest time value out of the 3 results that's being generated by a Stopwatch with Lap.
The result of the code below can show the time values in these format: 00:00:56 00:02:34 00:02:15
So, I replaced/removed the Colon(:) in order to work with min,max.
I am trying to send the lowest value as part of the form.
$(".submit").click(function(){
var time_trial = [];
$('.laps li').each(function (n) {
time_trial[n] = $(this).html().replace(/:/g, '');
});
return false;
});