Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jQuery Combobox/select autocomplete? [closed]

Does a jQuery plug-in exist for replacing select/combo box?

I tried SexyCombo, and it is as close to what I want, but it doesn't complete if you are writing from middle, only from beginning.

I have 2 levels of categories (20 top level categories, and with subcategories in total 120 categories), so when user is submitting an entry, he must find desired category as soon as possible.

So... 2 levels + autocomplete populate text even if you write middle letters.

Or any other solution?

like image 361
Kenan Avatar asked Jan 17 '10 20:01

Kenan


People also ask

What is jQuery UI autocomplete selection?

In the process of searching a specific value, the jQuery UI autocomplete selection feature provides the user with some string suggestions for the input area which effectively saves time. The autocomplete select action is triggered when the user selects one of the options from the pre-populated list.

What is autocomplete select action and how it works?

The autocomplete select action is triggered when the user selects one of the options from the pre-populated list. The very common universal example is google suggestion box used by millions of users all around. The very basic purpose of this feature is to replace the value of the text field with the selected value from the list by the user.

Why doesn’t my combobox sync with the original select element?

The problem is that jQuery UI requires a mechanism to keep its combobox in sync with the original select element. The trick is to trigger a change on the select object, that will notify jQuery to sync it’s combobox: Looking back, it all seems so simple now.

What is autocomplete AutoCAD?

Autocomplete. The Autocomplete widgets provides suggestions while you type into the field. Here the suggestions are tags for programming languages, give "ja" (for Java or JavaScript) a try. The datasource is a simple JavaScript array, provided to the widget using the source-option.


1 Answers

Have a look at the following example of the jQueryUI Autocomplete, as it is keeping a select around and I think that is what you are looking for. Hope this helps.

http://jqueryui.com/demos/autocomplete/#combobox

like image 101
Lance Avatar answered Oct 21 '22 20:10

Lance