O'Reilly logo

YUI 2.8 Learning the Library by Dan Wellman, Daniel Barreiro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Look ahead with the AutoComplete Control

The AutoComplete control allows you to add a useful typing suggestion facility that presents a drop-down list, which holds suggested words when a visitor types into a text field. It's just the frontend, so you'll need to consume third-party web services or construct your own backend data source, from which the suggestion engine receives data.

The following screenshot shows an example of an AutoComplete control that has been interacted with in this way:

Look ahead with the AutoComplete Control

Here, the visitor has found a suitable suggestion and has moved down with the down arrow to select javascript tutorial, ready to hit the Enter key, which would ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required