Elgg  Version master
Functions | Variables
jquery.ui.autocomplete.html.js File Reference

Go to the source code of this file.

Functions

function filter (array, term)
 
 extend (proto,{_initSource:function(){if(this.options.html &&$.isArray(this.options.source)){this.source=function(request, response){response(filter(this.options.source, request.term));};}else{initSource.call(this);}}, _renderItem:function(ul, item){return $("<li></li>").data("item.autocomplete", item).append($("<a></a>")[this.options.html?"html":"text"](item.label)).appendTo(ul);}})
 

Variables

 jQuery
 

Function Documentation

extend ( proto  ,
{_initSource:function(){if(this.options.html &&$.isArray(this.options.source)){this.source=function(request, response){response(filter(this.options.source, request.term));};}else{initSource.call(this);}}, _renderItem:function(ul, item){return $("<li></li>").data("item.autocomplete", item).append($("<a></a>")[this.options.html?"html":"text"](item.label)).appendTo(ul);}}   
)
function filter (   array,
  term 
)

Definition at line 14 of file jquery.ui.autocomplete.html.js.

Variable Documentation

jQuery

Definition at line 40 of file jquery.ui.autocomplete.html.js.