disable

Disable the DateBox | Listener - DateBox has been disabled

As a Function

This function will disable the DateBox control.
$(input).datebox('close');

As a Listener

This trigger is received when the datebox control is disabled
$(input).bind('datebox', function (e, passed) { 
  if ( passed.method === 'disable' ) {
    alert('Datebox was disabled!');
  }
});

Return Type

jQuery Object (datebox input element)

Trigger / Listener

Listener