This resposity contains samples of using the jquery autocomplete function within an ArcGIS JavaScript Application.