code: function(key, value) {
              //set option(s) by object
              if(key && typeof key === 'object') {
                 $.each(key, $.proxy(function(k, v){
                    this.option($.trim(k), v); 
                 }, this)); 
                 return;
              }
  
              //set option by string             
              this.options[key] = value;                          
              
              //disabled
              if(key === 'disabled') {
                 return value ? this.disable() : this.enable();
              } 
              
              //value
              if(key === 'value') {
                  this.setValue(value);
              }
              
              //transfer new option to container! 
              if(this.container) {
                  this.container.option(key, value);  
              }
               
              //pass option to input directly (as it points to the same in form)
              if(this.input.option) {
                  this.input.option(key, value);
              }
              
          }
docs: Sets new option
  
  @method option(key, value)
  @param {string|object} key option name or object with several options
  @param {mixed} value option new value
  @example
  $('.editable').editable('option', 'pk', 2);