Is it possible to format (i.e., apply tags) items in a select box? I would like to make some of the items bold based on their values.
I tried the following with no success:
<select name="select">
<option selected="selected"><b>Northeast</b></option>
<option value="1"> -- Boston</option>
<option value="2"> -- New York</option>
<option value="3"> -- Providence</option>
<option><strong>Midwest</strong></option>
<option value="4"> -- Indianapolis</option>
<option value="5">-- Chicago</option>
</select>
You'll notice I'm doing a poor-person's version of a chained selector. I actually have the chained selector code working but am not too happy with the amount of code it takes to #1 Make it run and #2 Select the options that were previously selected when returning to the page.
Thanks in advance for any help.
Nathan