I am using Datepicker and I wonder how I can configure so users cant pick less the current day?
Solved: $("selector").datepicker({ minDate: "+0D" });
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Are you using jquery-ui’s datepicker? it has an option for your needs (minDate)
http://jqueryui.com/demos/datepicker/
btw, You will have to verify input on server side, data could be spoofed