Привет, вы можете использовать обычное всплывающее окно java-script, чтобы показать ваш вывод.
<div id="datepicker" style="font: 80% 'Trebuchet MS', sans-serif;"></div>
<!-- The Modal -->
<div id="myModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<span class="close">×</span>
<p id="body">Some text in the Modal..</p>
</div>
</div>
$("#datepicker").datepicker();
$("#datepicker").change(function(){
var date = $(this).val();
$("#body").html("You have selected future date:"+ date);
modal.style.display = "block";
});
// Get the modal
var modal = document.getElementById("myModal");
// Get the <span> element that closes the modal
var span = document.getElementsByClassName("close")[0];
// When the user clicks on <span> (x), close the modal
span.onclick = function() {
modal.style.display = "none";
}
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
function isFutureDate(idate){
var today = new Date().getTime(),
idate = idate.split("/");
idate = new Date(idate[2], idate[1] - 1, idate[0]).getTime();
return (today - idate) < 0 ? true : false;
}
Здесь работает пример