I'm using Bootstrap css and js in my application. Accidentally I clicked on a disabled Dropdown list and found that it's opening the dropdown. I have made it readonly
in the attribute of the select
element:
<select id="xxx" name="xxx" class="input-medium" readonly>
I have also tried setting readonly="true"
, but still the same.
However, textbox control works fine, if you don't use jQuery.datepicker.
Is there a special way of making a dropdown control readonly when we use bootstrap?