jquery-src/jquery.calendars.validation.js
function(error, elem) {
				var inst = $.calendarsPicker._getInst(elem);
				if (inst) {
					error[inst.options.isRTL ? 'insertBefore' : 'insertAfter'](
						inst.trigger.length > 0 ? inst.trigger : elem);
				}
				else {
					error.insertAfter(elem);
				}
			}
function(error, elem) {
				var inst = $.calendarsPicker._getInst(elem);
				if (inst) {
					error[inst.options.isRTL ? 'insertBefore' : 'insertAfter'](
						inst.trigger.length > 0 ? inst.trigger : elem);
				}
				else {
					error.insertAfter(elem);
				}
			}
function ( error , elem ) { var inst = $ . calendarsPicker . _getInst ( elem ) ; if ( inst ) { error [ inst . options . isRTL ? 'insertBefore' : 'insertAfter' ] ( inst . trigger . length > 0 ? inst . trigger : elem ) ; } else { error . insertAfter ( elem ) ; } }
Correct error placement for validation errors - after any trigger.
@param error {jQuery} The error message.
@param elem {jQuery} The field in error.
Correct error placement for validation errors - after any trigger .