How do I do to display a datetimepicker up immediately above the input that displays it? How should I initialize it?
Use bootstrap 3.3.7. For now I only have it initialized in this way:
$("[id^='Date']").datetimepicker({
locale: 'es',
format: 'DD/MM/YYYY',
maxDate: Date.now(),
showClose: true,
allowInputToggle: true,
keepInvalid: true,
ignoreReadonly: true,
}).on("dp.show", function () {
$(this).next().css("bottom", 57)
$(".content.clearfix").css("overflow", "visible")
}).on("dp.hide", function () {
$(".content.clearfix").css("overflow", "hidden")
})
But I do not know what to put to achieve the above said.