AutoComplete Widget :: Basic XML Data

DataSource

This DataSource instance points to Yahoo! Search Web Services, via a simple PHP proxy. The DataSource schema is defined for XML data. In order to be compatible with the Yahoo! Search application, the DataSource's queryMatchContains is set to true, and the scriptQueryAppend has been defined to pass in additional arguments.

AutoComplete

This AutoComplete instance uses only default configuration values.

Yahoo! Search

Sample Code

CSS:

Markup:

JavaScript: