Hello, is there a simple way of hiding or removing values in a select
list? For instance I have a list like the one below and I want to hide
or remove two items:  "asc.300-signage" and "asc.815-grounds" but when
I try the following syntax

$("option").val(["asc.425-signage","asc.815-grounds"]).hide()

it hides all of the entries not just the 2 items I am after. Can
someone point me where to look. I have the Jquery in Action book but I
have not found a solution for my issue only general information for
working with forms.

Also, I am testing this with firebug. I load jquery from a bookmarklet
and try various functions. Anyone know how to load additional plugins
after you load the jquery library?

Thanks in advance!
Mike

<td align="center">
<select name="category-key" style="" size="15">
<option value="asc.300-signage" selected="1">Signage</option>
<option value="asc.425-servicing">12-Servicing</option>
<option value="asc.515-hardware">14-Hardware</option>
<option value="asc.606-software">Software</option>
<option value="asc.777-building">Building</option>
<option value="asc.815-grounds">Grounds</option>

Reply via email to