Remove one option from dropdown based on the option selected in the before dropdown list
<p>Here is my HTML Code.  </p>

<pre><code>   &lt;table&gt;
   &lt;tr&gt;
   &lt;td&gt;
   &lt;select class="dropdown"&gt;
   &lt;option value=""&gt;Select answer&lt;/option&gt;
   &lt;option value="1" selected="selected"&gt;A&lt;/option&gt;
   &lt;option value="2"&gt;B&lt;/option&gt;
   &lt;option value="3"&gt;C&lt;/option&gt;
   &lt;/select&gt;
   &lt;/td&gt;
   &lt;td&gt;
   &lt;select class="dropdown"&gt;
   &lt;option value=""&gt;Select answer&lt;/option&gt;
   &lt;option value="1" &gt;Yes&lt;/option&gt;
   &lt;option value="2"&gt;No&lt;/option&gt;
   &lt;option value="3"&gt;N.A.&lt;/option&gt;
   &lt;/select&gt;
   &lt;/td&gt;
   &lt;/tr&gt;
   &lt;td&gt;
   &lt;select class="dropdown"&gt;
   &lt;option value=""&gt;Select answer&lt;/option&gt;
   &lt;option value="1" &gt;Yes&lt;/option&gt;
   &lt;option value="2"&gt;No&lt;/option&gt;
   &lt;option value="3"&gt;N.A.&lt;/option&gt;
   &lt;/select&gt;
   &lt;/td&gt;
   &lt;/table&gt;
</code></pre>

<p>Here is my jquery code.  </p>

<pre><code>                     $('TABLE TR').find('select:first').each(function()
                     {
                      if($(this).find("option:selected").text()=="A")
                      {
                        $(this).next("select").find("option[value='Yes']").remove();
                      }
                     });
</code></pre>

<p>I want to remove the immediate next drop down value based on the value of first dropdown box. Please someone help..</p>
