title: Remove selected option from dynamically added selects
body: <p>I am adding dynamically multiple divs which contain select options and want to remove the option which is selected in first select from the next select box.</p>
  
  <p>Please check the jdfiddle here:  <a href="http://jsfiddle.net/MSvje/" rel="nofollow">http://jsfiddle.net/MSvje/</a></p>
  
  <pre><code>&lt;div class="center"&gt;
      &lt;div class="row-fluid"&gt;
          &lt;div class="span3"&gt;
              &lt;select class="chosen-select" id="form-field-select-3" data-placeholder="Choose a Country..."&gt;
                  &lt;option value=""&gt;Text&lt;/option&gt;
                  &lt;option value="AL"&gt;Department&lt;/option&gt;
                  &lt;option value="AK"&gt;City&lt;/option&gt;
                  &lt;option value="AZ"&gt;State&lt;/option&gt;
                  &lt;option value="AR"&gt;Country&lt;/option&gt;
                  &lt;option value="CA"&gt;Industry&lt;/option&gt;
              &lt;/select&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  &lt;a href="javascript:void(0);" id="search-add"&gt;&lt;i class="icon-plus"&gt;Add One&lt;/i&gt;&lt;/a&gt;
  &lt;br /&gt;
  &lt;a href="javascript:void(0);"  id="search-remove"&gt;&lt;i class="icon-minus"&gt;Remove One&lt;/i&gt;&lt;/a&gt;
  </code></pre>
  
  <p>Js CODE:</p>
  
  <pre><code>jQuery(function($) {
          $("#search-add").click(function () {
              if( ($('.center .row-fluid').length+1) &gt; 5) {
                  alert("Only 5  allowed");
                  return false;
              }
              var id = ($('.center .row-fluid').length + 1).toString();
              $('.center').append('&lt;div class="row-fluid"&gt;&lt;div class="span3"&gt;&lt;select class="chosen-select" id="form-field-select-3" data-placeholder="Choose a Country..."&gt;&lt;option value=""&gt;Text&lt;/option&gt;&lt;option value="AL"&gt;Department&lt;/option&gt;&lt;option value="HI"&gt;City&lt;/option&gt;&lt;option value="HI"&gt;State&lt;/option&gt;&lt;option value="HI"&gt;Country&lt;/option&gt;&lt;option value="HI"&gt;Industry&lt;/option&gt;&lt;/select&gt;&lt;/div&gt;'); 
                  });
  
                  $("#search-remove").click(function () {
                      if ($('.center .row-fluid').length == 1) {
                          alert("No more textbox to remove");
                          return false;
                      }
                      $(".center .row-fluid:last").remove();
                  });
              });
  </code></pre>