src/dropdown.js
function(id) {
        var item = Selectivity.findNestedById(this.results, id);
        if (item && !item.disabled && item.selectable !== false) {
            var options = { id: id, item: item };
            if (this.selectivity.triggerEvent('selectivity-selecting', options)) {
                this.selectivity.triggerEvent('selectivity-selected', options);
            }
        }
    }
function(id) {
        var item = Selectivity.findNestedById(this.results, id);
        if (item && !item.disabled && item.selectable !== false) {
            var options = { id: id, item: item };
            if (this.selectivity.triggerEvent('selectivity-selecting', options)) {
                this.selectivity.triggerEvent('selectivity-selected', options);
            }
        }
    }
function ( id ) { var item = Selectivity . findNestedById ( this . results , id ) ; if ( item && ! item . disabled && item . selectable !== false ) { var options = { id : id , item : item } ; if ( this . selectivity . triggerEvent ( 'selectivity-selecting' , options ) ) { this . selectivity . triggerEvent ( 'selectivity-selected' , options ) ; } } }
Selects the item with the given ID.

@param id ID of the item to select.
Selects the item with the given ID .