(function ($) { $.extend($.ui, { DateTimepicker: {} }); $.datepicker._base_updateDatepicker = $.datepicker._updateDatepicker; $.datepicker._updateDatepicker = function (inst) { $.datepicker._base_updateDatepicker(inst); var val = inst.input.val(); if (inst.input.hasClass("datetimepicker") == false) return; var bottomLayer = $(".ui-datepicker").append("
"); bottomLayer.append(html1); bottomLayer.append("시 "); bottomLayer.append(html2); bottomLayer.append("분 "); bottomLayer.append(html3); bottomLayer.append("초 "); $.datetimepicker.setTime(val, inst.input); }; function DateTimePicker(options) { this.defaultDateTimePicker = { showTimePicker: false, time_format: 'hh:mm:ss' }; hourHTML = $(""); minutsHTML = $(""); secondHTML = $(""); for (i = 1; i <= 24; i++) html1 = hourHTML.append("