QUESTION ONE: Please suggest what might be entered where the three ? marks appear in order to achieve the following goal.
THE GOAL: See appear the value of mil in the input control text field and have this value become the value of $_POST['item_encllength'] when the form is submitted.
var min = $('#min').val();
var sec = $('#sec').val();
var mil = function(min, sec) {
var millisec = ((min * 60) + sec) * 1000;
return millisec;
}
$('#item_encllength').mousedown(mil, function() {
$(this).???;
});
<input id='min' type='number' value='Minutes'>