How to use the input's value as the source for the autocomplete, or better,

use a custom function plus the input's value as the source, a la facebook - like they do "just use "user value" as location" for location fields on their website for example.