YUI Library Home

YUI Library Examples: AutoComplete Control: Combo Box

AutoComplete Control: Combo Box

This "combo box" AutoComplete implementation allows the user to pick an item from a set list or enter a custom value directly into the input field. There are also some CSS customizations which must be made to support multiple stacked AutoComplete instances, which this example demonstrates.

What would you like for breakfast?

What would you like for lunch?

What would you like for dinner?

Sample Code

Data:

CSS:

Markup:

JavaScript:

Copyright © 2008 Yahoo! Inc. All rights reserved.

Privacy Policy - Terms of Service - Copyright Policy - Job Openings