I got Jquery UI Datepicker that work well, but one important issue make me serious problems.Problem is when user dont select date from datepicker and submit query, external service throw error, otherwise everything is ok. How to prevent that, disable submit button if date is not selected?Any ideas on how to do that. I put code on JSFIDDLE One more question.How to prevent users to select previous date than tommorow date and set tommorow as default date thx
Share
Take a look at this code snippet. I stripped down unimportant code and commented each line I added. Also updated jsfiddle example.