> // remove selected items from the #mySelect element
> var oRemoved = $("option:selected", oSelect).remove();
>
> -- or --
>
> var oRemoved = oSelect.find("option:selected").remove();
>

How would you identify an individual option index using this syntax?
In other words if I wanted to check the value of the first option in
oSelect and if it is blank (""), then remove it?

Is there a way to check to see if an option value is contained within
the select without looping (does jQuery have native functionality to
do this)?

Jeff

Reply via email to