jquery-src/jquery.calendars.picker.js
function(elem) {
			elem = $(elem);
			if (!elem.hasClass(this._getMarker())) {
				return;
			}
			var inst = this._getInst(elem);
			if (inst.inline) {
				elem.children('.' + this._disableClass).remove().end().
					find('button,select').prop('disabled', false).end().
					find('a').attr('href', 'javascript:void(0)');
			}
			else {
				elem.prop('disabled', false);
				inst.trigger.filter('button.' + this._triggerClass).prop('disabled', false).end().
					filter('img.' + this._triggerClass).css({opacity: '1.0', cursor: ''});
			}
			this._disabled = $.map(this._disabled,
				function(value) { return (value === elem[0] ? null : value); }); // Delete entry
		}
function(elem) {
			elem = $(elem);
			if (!elem.hasClass(this._getMarker())) {
				return;
			}
			var inst = this._getInst(elem);
			if (inst.inline) {
				elem.children('.' + this._disableClass).remove().end().
					find('button,select').prop('disabled', false).end().
					find('a').attr('href', 'javascript:void(0)');
			}
			else {
				elem.prop('disabled', false);
				inst.trigger.filter('button.' + this._triggerClass).prop('disabled', false).end().
					filter('img.' + this._triggerClass).css({opacity: '1.0', cursor: ''});
			}
			this._disabled = $.map(this._disabled,
				function(value) { return (value === elem[0] ? null : value); }); // Delete entry
		}
function ( elem ) { elem = $ ( elem ) ; if ( ! elem . hasClass ( this . _getMarker ( ) ) ) { return ; } var inst = this . _getInst ( elem ) ; if ( inst . inline ) { elem . children ( '.' + this . _disableClass ) . remove ( ) . end ( ) . find ( 'button,select' ) . prop ( 'disabled' , false ) . end ( ) . find ( 'a' ) . attr ( 'href' , 'javascript:void(0)' ) ; } else { elem . prop ( 'disabled' , false ) ; inst . trigger . filter ( 'button.' + this . _triggerClass ) . prop ( 'disabled' , false ) . end ( ) . filter ( 'img.' + this . _triggerClass ) . css ( { opacity : '1.0' , cursor : '' } ) ; } this . _disabled = $ . map ( this . _disabled , function ( value ) { return ( value === elem [ 0 ] ? null : value ) ; } ) ; // Delete entry }
Enable the control.
@memberof CalendarsPicker
@param elem {Element} The control to affect.
@example $(selector).datepick('enable')
Enable the control .