Creating autocomplete function for in-line edit fields and search
functions.