Thank you very much. That was just the push I needed. it worked!

I think what I will try and do is since I know the values I want to
remove I will load them into an array and loop through them applying
the remove() function.

Again, thank you very much!
Mike

On Jun 13, 9:56 pm, Dave Methvin <[EMAIL PROTECTED]> wrote:
> > I tried: $("option").val(["asc.212-servicing","asc.333-air-
> > conditioning" ]).remove();
>
> the .val() method sets or gets an element's value, which in your case
> is happening just before it removes all the options elements. :-)
>
> You want to use a selector. I can't think of a convenient way to
> select multiple elements given their option values, other than
> something verbose like this:
>
> $('option[value="asc.212-servicing"], option[value="asc.333-air-
> conditioning"]').remove();

Reply via email to