title: How to remove ui-state-active class while click on the dates from datepicker
body: <p>When i click on the particular dates in the jQuery-ui datepicker then the ui-state-active class added on that date. I want to remove that class on click of that date or onSelect event of the date.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>  $( function() {
      $( "#datepicker" ).datepicker();
    });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!doctype html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
    &lt;link rel="stylesheet" href="https:////code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"&gt;
    &lt;script src="https://code.jquery.com/jquery-1.12.4.js"&gt;&lt;/script&gt;
    &lt;script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"&gt;&lt;/script&gt;
    
  &lt;/head&gt;
  &lt;body&gt;
   
  &lt;p&gt;Date: &lt;input type="text" id="datepicker"&gt;&lt;/p&gt;
   
   
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>