LiveValidation with the jQuery DatePicker
问题 I'm currently using the LiveValidation library on a field that uses the jQuery UI datepicker. var expiry = new LiveValidation('expiry_date'); expiry.add( Validate.Presence, { failureMessage: "Date Required." } ); Unfortunately, after selecting a date, LiveValidation still thinks the field is empty and shows a validation error. If I click inside the field and click away, the field is then valid. Any tips on getting LiveValidation to detect that there is actually content in the date field? 回答1: