Hi all,
Is there a way to disable just one item in a dropdown list? I am able to change the color of an element with the code below using style sheets but I've been searching unsucessfully to find how to disable an element. Any help would be appricated. Thanks.
<style>option.Odd {color:red;}</style>
select size="1" name="HRC">
<option value="CAS">A</option>
<option value="INH">B</option>
<option value="DNH">C</option>
<option value="BUL">D</option>
<option value="RUL">E</option>
<option value="TER" class="Odd">F</option>
</select>
Is there a way to disable just one item in a dropdown list? I am able to change the color of an element with the code below using style sheets but I've been searching unsucessfully to find how to disable an element. Any help would be appricated. Thanks.
<style>option.Odd {color:red;}</style>
select size="1" name="HRC">
<option value="CAS">A</option>
<option value="INH">B</option>
<option value="DNH">C</option>
<option value="BUL">D</option>
<option value="RUL">E</option>
<option value="TER" class="Odd">F</option>
</select>