showOnFocus : BooleanDefault: true

If set to true, show datepicker on input focus.

Examples

True

    
 <input id="datepicker" width="312" />
 <script>
    $('#datepicker').datepicker({ showOnFocus: true, showRightIcon: false });
 </script>

  

False

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