title: Removing multiple select option from drop down
body: <p>Does anyone knows how to remove multiple <code>option</code>s from form drop down?  I want to read data from database, and depending on its value remove some <code>option</code>s.</p>
  
  <pre><code>&lt;select name="year"&gt;
      &lt;option value="1"&gt;First year/option&gt;
      &lt;option value="2"&gt;Second year&lt;/option&gt;
      &lt;option value="3"&gt;Third year&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>After I read data from the database, I would like to remove some values based on the data's value. So if the data value is <code>3</code>, I want to remove values <code>1</code> and <code>2</code> from thr drop down list..</p>