I have two elements, EndTime and StartTime that are two inputs and both have the class time.
With each one you need to have the value of the two separated into variables.
$('.hora').each(function (){
var horaFinal = $('.horaFinal').val();
var horaInicio = $('.horaInicio').val();
})
But when I do this my inputs are empty.