When I have simple drop down box
<select id="fruits">
<option value="apple">Apple</option>
<option value="orange">Orange</option>
<option value="banana" disabled="true">Banana</option>
</select>
The Banana Option is disabled in the drop down.
When I tried to use Jquery Autocomplete Combo box
$( "#fruits" ).combobox();
The Autocomplete dropdown works fine, but the option Banana ( which has disabled option set ) is not disabled.
Assuming it’s the combobox in the demo
http://jqueryui.com/demos/autocomplete/
try replacing this line:
with:
You could also use the excellent Chosen select element formatter which combines a search box with a formatted select element.