I wanted to disable all past date before current date, not with current date. I am trying by bootstrap datepicker library \"bootstrap-datepicker\" and using following code:<
The solution is much simpler:
$('#date').datepicker({ startDate: "now()" });
Try Online Demo and fill input Start date: now()