In the val docs written this description:
.val() Returns: String, Number, Array
I tried to get a Time, but it seems to return string only, Is there any method to parse the val value to localtime?
$.get(href,function(exam,status){
$('#startTimeEdit').val(exam.startTime);
$('#endTimeEdit').val(exam.endTime);
});
Overall, my question will be how to parse the val value to LocalTime datatype?