Working Of Autocomplete

Hi

can anyone explain me how the code of autocomplete works.

or atleast what is term in if (!empty($_GET[‘term’])) while using for autocomplete function.

any help would be appreciated.

Thanks

Hi

i am getting error as follows

Undefined index: term

while compiling autocomplete function.

from where do we get term ?

Thanks