title: Disable the Drop down options
body: <p>I want to disable the drop down options based on the condition. I want to disable all the other options except the option which has the text "Java".</p>
  
  <p>Ex:</p>
  
  <pre><code>&lt;select id="ddlList"&gt;
     &lt;option value="csharp"&gt;C#&lt;/option&gt;
     &lt;option value="vb"&gt;VB.NET&lt;/option&gt;
     &lt;option value="jquery"&gt;jQuery&lt;/option&gt;
     &lt;option value="java"&gt;Java&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>In this case Only java option should be enable and others should be disable.</p>