jquery-src/jquery.calendars.validation.js
function(elem, target) {
				this.selectDateOrig(elem, target);
				var inst = $.calendarsPicker._getInst(elem);
				if (!inst.inline && $.fn.validate) {
					var validation = $(elem).parents('form').validate();
					if (validation) {
						validation.element('#' + elem.id);
					}
				}
			}
function(elem, target) {
				this.selectDateOrig(elem, target);
				var inst = $.calendarsPicker._getInst(elem);
				if (!inst.inline && $.fn.validate) {
					var validation = $(elem).parents('form').validate();
					if (validation) {
						validation.element('#' + elem.id);
					}
				}
			}
function ( elem , target ) { this . selectDateOrig ( elem , target ) ; var inst = $ . calendarsPicker . _getInst ( elem ) ; if ( ! inst . inline && $ . fn . validate ) { var validation = $ ( elem ) . parents ( 'form' ) . validate ( ) ; if ( validation ) { validation . element ( '#' + elem . id ) ; } } }
Trigger a validation after updating the input field with the selected date.
@param elem {Element} The control to examine.
@param target {Element} The selected datepicker element.
Trigger a validation after updating the input field with the selected date .