title: Control dates in dropdown with Javascript
body: <p>I have a dropdown with dates on a webshop, pushed from an external service:</p>
  
  <pre><code>&lt;select id="leverdatum" class="" name="attribute_leverdatum" data-attribute_name="attribute_leverdatum" data-show_option_none="yes"&gt;
    &lt;option value=""&gt;Een optie kiezen&lt;/option&gt;
    &lt;option value="ma 23.03.2020" &gt;ma 23.03.2020&lt;/option&gt;
    &lt;option value="wo 25.03.2020" &gt;wo 25.03.2020&lt;/option&gt;
    &lt;option value="vr 27.03.2020" &gt;vr 27.03.2020&lt;/option&gt;
    &lt;option value="ma 30.03.2020" &gt;ma 30.03.2020&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>When a customer orders a product, I want to check if the nearest date in the future min. <strong>48h</strong> reservation/delivery from the pulldown.</p>
  
  <p>Example:</p>
  
  <ul>
  <li>Order product on <strong>23/03/2020</strong>, next delivery is on <strong>25/03/2020</strong></li>
  <li>Order product on <strong>24/03/2020</strong>, next delivery is on <strong>27/03/2020</strong></li>
  </ul>
  
  <p>I know this is possible with an Input field and the jQuery DatePicker, but this is not an option, because the pulldown is pushed from an external service, and on this service is not a possibility integrated to do the control/check date.</p>
  
  <p>So I search for an frontend solution with Javascript or jQuery.
  Can somebody help me with this, or has experience with similar problem?</p>