Home » Jquery » How to remove orientation from jQuery datepicker-Exceptionshub

How to remove orientation from jQuery datepicker-Exceptionshub

Posted by: admin February 24, 2020 Leave a comment

Questions:

This is my jQuery code

<input type="text" name="assign_date" readonly class="form-control datepickermin" id="assign_date" required>
$('.datepickermin').datepicker({
  orientation: "auto",
  keyboardNavigation: false,
  forceParse: false,
  autoclose: true,
  startDate: new Date('2020-2-12'),
  endDate: new Date('2020-2-15'),
  dateFormat: 'dd-mm-yy',
});

This is Image

enter link description here

How to remove orientation from jQuery datepicker?

How to&Answer:

Try this

.datetimepicker:before, .datetimepicker:after { display: none;}