I understand very little about javascript/jquery and am trying to pass the date using the pickadate.js-3.5.3 using html/php/mysql i need to take the user inputed date from pickadate.js-3.5.3 date function and convert it into a format subtible for the DATE data type in MYSQL
This is the code i have so far;
<p id="datepairExample">Date:<input class="fieldset__input js__datepicker" name="datepicker1" value="" type="text" placeholder="Date"> </p><br/>
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="dt/js/legacy.js"></script>
<script src="dt/js/picker.js"></script>
<script src="dt/js/picker.date.js"></script>
<script src="dt/js/picker.time.js"></script>
<script>window.jQuery||document.write('<script src="pickadate.js-3.5.3/tests/jquery.2.0.0.js"><\/script>')</script>
<script src="dt/demo.js"></script>
I have read the documents on how to do this, and have even tryed to copy and paste the code from the demo into my own page but with no luck! Any advice is welcome! Thanks