Removing an item from a select box

How do I remove items from, or add items to, a select box? I’m running jQuery, should that make the task easier. Below is an example select box.

<select name="selectBox" id="selectBox">
    <option value="option1">option1</option>
    <option value="option2">option2</option>
    <option value="option3">option3</option>
    <option value="option4">option4</option>    
</select>

15 Answers
15

Leave a Comment