0

I am using boot strap date picker control for displaying date. I want to hide the previous dates in date picker. How to do it?

2

1 Answer 1

0

use this

var date = new Date(); date.setDate(date.getDate()-1); $('#sandbox-container input').datepicker({ autoclose: true, startDate: date }); 

JSFiddle

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.