I am using date picker in my application which should not allow user to select future date.
I could not find any function in jquery . Please give some suggestions.
I am using html 5 date input type.
<input type="date" name="bday">
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.
Try something like this:
Then with jquery and UI datepicker plugin for example if your future date is today:
Or simply according to ThiefMaster: