jquery-src/jquery.calendars.picker.js
function(event) {
			var elem = (event.data && event.data.elem) || event.target;
			var inst = plugin._getInst(elem);
			if (!$.isEmptyObject(inst) && !inst.ctrlKey && inst.lastVal !== inst.elem.val()) {
				try {
					var dates = plugin._extractDates(inst, inst.elem.val());
					if (dates.length > 0) {
						plugin.setDate(elem, dates, null, true);
					}
				}
				catch (event) {
					// Ignore
				}
			}
			return true;
		}
function(event) {
			var elem = (event.data && event.data.elem) || event.target;
			var inst = plugin._getInst(elem);
			if (!$.isEmptyObject(inst) && !inst.ctrlKey && inst.lastVal !== inst.elem.val()) {
				try {
					var dates = plugin._extractDates(inst, inst.elem.val());
					if (dates.length > 0) {
						plugin.setDate(elem, dates, null, true);
					}
				}
				catch (event) {
					// Ignore
				}
			}
			return true;
		}
function ( event ) { var elem = ( event . data && event . data . elem ) || event . target ; var inst = plugin . _getInst ( elem ) ; if ( ! $ . isEmptyObject ( inst ) && ! inst . ctrlKey && inst . lastVal !== inst . elem . val ( ) ) { try { var dates = plugin . _extractDates ( inst , inst . elem . val ( ) ) ; if ( dates . length > 0 ) { plugin . setDate ( elem , dates , null , true ) ; } } catch ( event ) { // Ignore } } return true ; }
Synchronise datepicker with the field.
@memberof CalendarsPicker
@private
@param event {KeyEvent} The keystroke.
@return {boolean} <code>true</code> if allowed, <code>false</code> if not allowed.
Synchronise datepicker with the field .