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.

here link demo , download

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

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -