JQuery input mask for 12 hour time format
$('input[id$="endTime"]').inputmask("hh:mm:ss", {
placeholder: "HH:MM:SS",
insertMode: false,
showMaskOnHover: false,
hourFormat: 12
}
);
Demo
Tips: Open file jquery.inputmask.bundle.js
, search datetime
and review all options for it.
(Sorry, i can't add comment because i do not have enough limit point to do it.)