To remove the option with value: "option1"
:
$("#selectBox option[value='option1']").remove();
You will have to set values in your options, though:
<option value="option1">option1</option>
<option value="option2">option2</option>
<option value="option3">option3</option>
Adding value properties also has the benefit that you can change the displayed value, while sending something the code understands back to the server:
<option value="option1">Mercedes</option>
<option value="option2">Volvo</option>
<option value="option3">Volkswagen</option>
The server will still receive option1
, for example.