O'Reilly logo

Responsive Web Design with jQuery by Gilberto Crespo

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

The autocomplete feature with Magicsuggest

Magicsuggest is a flexible autosuggest combobox that gives suggestions whenever the user starts typing in the field. Using this feature will reduce the necessity of typing, mainly on mobile devices, where the typing in of each letter is cumbersome.

By default, Magicsuggest has some good features, such as holding the Ctrl key to select multiple items and allowing the user to add a new input using the Enter key after having entered the text.

The JSON data source is used to populate the combobox. There are some options available here:

  • No data source: When left as null, the combobox will not suggest anything. It can still enable the user to enter multiple entries if the allowed FreeEntries are set to true (default). ...

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