Yahoo! Developer Network Home - Help

YUI Library Examples: AutoComplete Control: Use AutoComplete to access the Yahoo! Search XML API

AutoComplete Control: Use AutoComplete to access the Yahoo! Search XML API

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 property queryMatchContains is enabled, and the scriptQueryAppend has been defined to pass in additional arguments.

Yahoo! Search:

Sample Code

CSS:

Markup:

JavaScript:

Copyright © 2008 Yahoo! Inc. All rights reserved.

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