Elgg  Version 5.1
Functions
autocomplete.js File Reference

Go to the source code of this file.

Functions

 define (['jquery', 'jquery-ui/widgets/autocomplete', 'jquery.ui.autocomplete.html'], function($){return{init:function(){$('.elgg-input-autocomplete').each(function(){var $this=$(this);if(!$this.data('autocompleteInitialized')){$this.data('autocompleteInitialized', true);$this.autocomplete({source:$this.data('source'), minLength:2, html:"html", messages:{noResults: '', results:function(){}}});}});}};})
 

Function Documentation

define ( function($){return{init:function(){$('.elgg-input-autocomplete').each(function(){var $this=$(this);if(!$this.data('autocompleteInitialized')){$this.data('autocompleteInitialized', true);$this.autocomplete({source:$this.data('source'), minLength:2, html:"html", messages:{noResults: '', results:function(){}}});}});}};}  )