So far I have the following
var aCleanData = [\'aaa\',\'aab\',\'faa\',\'fff\',\'ffb\',\'fgh\',\'mmm\',\'maa\']; $(\'#my-input\').autocomplete({ source:a
I think you use the jQuery UI - Autocomplete. The one searching type is not the same way that you want to do. But this one is may be cover for your need.