Hi all,
Not sure if this needs to be done via javascript or whether it can be done in HTML, but I'd like to be able to disable individual options within a select field.
i.e.
<select name="select" multiple>
<option value="1">opt 1</option>
<option value="2" disabled>opt 2</option>
</select>
How would I go about doing this?
Thanks,
Richard
Not sure if this needs to be done via javascript or whether it can be done in HTML, but I'd like to be able to disable individual options within a select field.
i.e.
<select name="select" multiple>
<option value="1">opt 1</option>
<option value="2" disabled>opt 2</option>
</select>
How would I go about doing this?
Thanks,
Richard