O'Reilly logo

jQuery UI Cookbook by Adam Boduch

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

Chapter 2. Including Autocompletes

In this chapter, we will cover:

  • Styling the default input with themes
  • Building data sources using select options
  • Using multiple data sources
  • Remote autocomplete filtering
  • Custom data and categories
  • Applying effects to the drop-down menu

Introduction

The main purpose of the autocomplete widget is to augment the capabilities of the standard HTML form input element. Instead of the user having to type out the full value of the input field each time, the autocomplete widget offers suggestions as to what the value might be. For example, let's say you're adding a new product. The product field could be a text input, a select input, and so on. In this scenario, one would use the existing product in the system as the source ...

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