title: How to remove a option from a SELECT with Select2 applied?
body: <p>So, I have this HTML code:</p>
  
  <pre><code>&lt;input type="checkbox" id="orders_lives_in_ccs" name="orders[lives_in_ccs]" class="lives_in_ccs"&gt;
  &lt;select id="orders_shipping_from" name="orders[shipping_from]" required="required" class="shipping_from toSelect2"&gt;
      &lt;option value="" selected="selected"&gt;-- SELECCIONAR --&lt;/option&gt;
      &lt;option value="MRW"&gt;MRW - COBRO EN DESTINO&lt;/option&gt;
      &lt;option value="DOMESA"&gt;DOMESA - COBRO EN DESTINO&lt;/option&gt;
      &lt;option value="ZOOM"&gt;GRUPO ZOOM - COBRO EN DESTINO&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>I need to remove the option <code>MRW</code> when checkbox <code>.lives_in_ccs</code> is checked so I made this code:</p>
  
  <pre><code>$(function () {
      $('.toSelect2').select2();
  
      var detachedMember;
      $('.lives_in_ccs').click(function () {
          if (this.checked) {
              detachedMember = $('.shipping_from option[value="MRW"]').detach();
          } else {
              $('.shipping_from option[value=""]').after(detachedMember);
          }
  
          $(".secure_shipping").toggle(this.checked);
      });
  });
  </code></pre>
  
  <p>This code works but I'm having a problem and didn't found the way to fixit. Having <a href="http://jsfiddle.net/fgaqgpd7/" rel="nofollow">this</a> jsFiddle  do this tests:</p>
  
  <ul>
  <li>Leave the SELECT with the default value which is <code>--SELECCIONAR--</code> and mark the check in the left side, that will works and will remove the option <code>MRW</code> from the main SELECT, if you unmark the check the value will appear again on the SELECT</li>
  <li>Choose <code>MRW</code> (the first choice) on the SELECT and mark the check in the left side, that will remove the option <code>MRW</code> from the main SELECT, but will leave the option as SELECTED which is wrong since the server side isn't expecting it. </li>
  </ul>
  
  <p>So, how do I remove the option even if it's selected on the SELECT element? Any help?</p>