How can I edit javascript time picker text editable?
$(document).ready(function () {
$("#Indexes").timepicker({'timeFormat': 'H:i:s'
});
});
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Akshay PhadkeRank #161 · 14.6K reputationPosted Jun 3, 2016, 4:24 AM EDT
Akshay PhadkeRank #161 · 14.6K reputationPosted Jun 3, 2016, 3:24 AM EDT
Abhilash J ARank #1,243 · 1.4K reputationPosted Jun 3, 2016, 3:58 AM EDT
Method timeFormat does not exist on jQuery.timepicker
'timeFormat': 'H:i:s',
minTime: new Date(0, 0, 0, 8, 0, 0),
maxTime: new Date(0, 0, 0, 15, 0, 0),
startHour: 6,
startTime: new Date(0, 0, 0, 8, 20, 0),
interval: 10,
});
$('#Indexes').timepicker('timeFormat', 'H:i:s');
$('#Indexes')
.timepicker('setTime', '00:00:00')
.timepicker('option', 'change', function (time) {
$('#Indexes').timepicker('option', 'minTime', time);
});