Autocomplete with multiple values is not working

Autocomplete with multiple values is not working

Even after copy-pasting the original example over to my page it still does not work. This seems to cause problems:

  1. source: function( request, response ) {
                    // delegate back to autocomplete, but extract the last term
                    response( $.ui.autocomplete.filter(
                        availableTags, extractLast( request.term ) ) );
                },





Somehow the "$.ui.autocomplete.filter" function is missing:

"$.ui.autocomplete.filter is not a function"

is what I'm getting in the console