code: function(item) {
        var li = inputEx.cn('li', {className: 'inputEx-DDList-item'});
        li.appendChild( inputEx.cn('span', null, null, (typeof item == "object") ? item.label : item) );
  
        // Option for the "remove" link (default: true)
  		if(!!this.options.allowDelete){
  			var removeLink = inputEx.cn('a', null, null, "remove"); 
  	      li.appendChild( removeLink );
  	      Event.addListener(removeLink, 'click', function(e) {
  	         var a = Event.getTarget(e);
  	         var li = a.parentNode;
  	         this.removeItem( inputEx.indexOf(li,this.ul.childNodes) );
  	      }, this, true);
        }
  
        var dditem = new inputEx.widget.DDListItem(li);
        dditem._list = this;
        
        this.items.push( (typeof item == "object") ? item.value : item );
        
        this.ul.appendChild(li);
     }
docs: Add an item to the list
  @param {String|Object} item Either a string with the given value or an object with "label" and "value" attributes