title: How to disply the calender before 3 months and after 3 months only from current date onwords using jquery
body: <p>I want calendar like this when calendar shows it's show current date and i want able see only in that calendar before three months date and after three months date only.</p>
  
  <p>i am getting current date  and i am selecting any date.</p>
  
  <p>input type is date </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code> $(document).ready(function()  {
          $( "#txtTrtDtPreAprvlSubn" ).datepicker({ 
              changeMonth: true,
              changeYear: true,
              minDate: '-3M',
              maxDate: '+3M',
          });
      });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;input type="Date" id="txtTrtDtPreAprvlSubn" placeholder="Treatment Date"&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>$(...).datepicker is not a function error is comming</p>