value : StringDefault: undefined

The initial datepicker value.

Examples

Javascript

    
 <input id="datepicker" width="312" />
 <script>
    $('#datepicker').datepicker({
        value: '01/01/2022'
    });
 </script>

  

HTML

    
 <input id="datepicker" width="312" value="01/01/2022" />
 <script>
     $('#datepicker').datepicker();
 </script>