AutoComplete Widget :: JSON Data Yahoo! Search Web Services

Yahoo! Search

DataSource

This DataSource instance points to Yahoo! Search Web Services, via a simple PHP proxy. The DataSource schema is defined for JSON 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.

Sample Code

CSS:

Markup:

JavaScript: