title: Date won't save in Mysql when I use jQuery date picker in jsp
body: <p>I need to disable the previous dates as well so jQuery is this..</p>
  <pre><code>&lt;script type=&quot;text/javascript&quot; src=&quot;https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js&quot;&gt;&lt;/script&gt;
   &lt;link href=&quot;http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css&quot; rel=&quot;Stylesheet&quot;
          type=&quot;text/css&quot; /&gt;
      &lt;script type=&quot;text/javascript&quot; src=&quot;http://code.jquery.com/jquery-1.7.2.min.js&quot;&gt;&lt;/script&gt;
      &lt;script type=&quot;text/javascript&quot; src=&quot;http://code.jquery.com/ui/1.10.4/jquery-ui.js&quot;&gt;&lt;/script&gt;
      &lt;script language=&quot;javascript&quot;&gt;
          $(document).ready(function () {
              $(&quot;#dueDate&quot;).datepicker({
                  dateformat : 'yyyy-mm-dd',
                  minDate: 0
              });
          });
      &lt;/script&gt;
  </code></pre>
  <p>Jsp</p>
  <pre><code>&lt;input type=&quot;date&quot; id=&quot;dueDate&quot; name=&quot;dueDate&quot;&gt;
  </code></pre>
  <p>The type for the dueDate is <code>DATE</code> in MySql</p>