LA_
LA_

Reputation: 20409

How to create standard combobox (select) in jquery ui style?

There is combobox with autocomplete enabled. How to create combobox in the same style but without autocomplete (with just a few fixed values)?

Upvotes: 3

Views: 1106

Answers (1)

Saulius
Saulius

Reputation: 2006

If I understood you corectly you want not to allow user input and values shall be changed by click on button or textbox. For this purpose you can use "readonly" attribute like this:

input.attr("readonly", true);

Of course you my implement your widget and set it up by plugin options.

Upvotes: 1

Related Questions