Iโm late for a couple of years, but I decided that I would add my two cents, as it doesnโt look like someone really answered the question yet;).
The source jQuery UI Autocomplete option is used to specify an array containing the elements that should be displayed in the drop-down list after the widget starts. It can be defined as such an array, a function that returns such an array, or the URL of a resource that creates such an array.
If the array, which eventually becomes the source value, is empty, the widget does not display a drop-down list. Thus, the definition of source as a function capable of returning a non-empty array only when entering @ will cause the widget to behave as you wish.
If you donโt want to solve the problem of defining such a function, look at the Mentionator , the jQuery plug-in - which mentions the creation and management functions (as well as useful helper functions) that are actually based on the jQuery UI autocomplete functions. Your really supports it :).
Kevin source share