jquery - Multiple date selecte in single input field? -
i want create date picker calender . having option select multiple dates single input field . please me if have before.
<script> var drp; function makedatepicker(){ drp = $("#mydate").datepicker({}); } function getrange(){ $("#myoutput").html(""); $(drp.getdaterange()).each(function() { $("#myoutput").append($("<li>").html($.datepicker.formatdate("dd/mm/yy",this))); }); } $( document ).ready(function() { makedatepicker(); }); </script>
thanks
to select multiple date 1 input can use datepick.js allow select multiple date @ time.
to see demo multiple date select click on "multiple" tab on this page
you can select multiple dates using :
<input type="text" id="multi999picker" size="60" class="is-datepick"> $('#multi999picker').datepick({ multiselect: 999, monthstoshow: 2, showtrigger: '#calimg'});
Comments
Post a Comment