I need to add a range for a date input field in jquery
Posted
by user338413
on Stack Overflow
See other posts from Stack Overflow
or by user338413
Published on 2010-05-21T13:58:11Z
Indexed on
2010/05/21
14:00 UTC
Read the original article
Hit count: 160
I've got an input field in a form that needs a date value. I'm using jQuery UI's datepicker for the calendar and I've set a range for it. However, the user can override that by typing a different date in the input field. How can I specify a date range for the field with jQuery validation? All I see with jQuery is that you can only specify that the field be a date type. Can I create min and max values that work with dates?
© Stack Overflow or respective owner