src/dropdown.js
function(message, options) {
        this.resultsContainer.innerHTML = this.selectivity.template('error', {
            escape: !options || options.escape !== false,
            message: message
        });

        this.hasMore = false;
        this.results = [];

        this.highlightedResult = null;
        this.loadMoreHighlighted = false;

        this.position();
    }
function(message, options) {
        this.resultsContainer.innerHTML = this.selectivity.template('error', {
            escape: !options || options.escape !== false,
            message: message
        });

        this.hasMore = false;
        this.results = [];

        this.highlightedResult = null;
        this.loadMoreHighlighted = false;

        this.position();
    }
function ( message , options ) { this . resultsContainer . innerHTML = this . selectivity . template ( 'error' , { escape : ! options || options . escape !== false , message : message } ) ; this . hasMore = false ; this . results = [ ] ; this . highlightedResult = null ; this . loadMoreHighlighted = false ; this . position ( ) ; }
Shows an error message.

@param message Error message to display.
@param options Options object. May contain the following property:
escape - Set to false to disable HTML-escaping of the message. Useful if you
want to set raw HTML as the message, but may open you up to XSS
attacks if you're not careful with escaping user input.
Shows an error message .