Right Autocompleter Demo

This is a demo page for the Autocompelter feature

top ↑Simple Example

Pick up some programming language via ajax

the code looks like that

new Autocompleter('remote-auto-field', {
url: '/ui/autocompleter/languages/%{search}.js'
});

Same thing locally

the script

new Autocompleter('local-auto-field', {
local: ["Ruby", "Python", "Java", "JavaScript"]
});

top ↑Auto-Discovered Fields

You might have the same result as above with auto discovered fields like this

the script

<input type="text" rel="autocompleter[/ui/autocompleter/languages/%{search}.js]" />

the same thing with a list of local options

source code

<input type="text" rel="autocompleter['Ruby', 'Python', 'Java', 'JavaScript']" />