Dear All,
Good day.
I have a case below :
<td class='td'><input type='text' size='12' name='ot_date" . $i ."' id='validMinMaxDatepicker' class='dpDate' readonly></td><code class='jsdemo'>$('#validMinMaxDatepicker').datepicker({minDate: -14, maxDate: -1});</code>
<script type="text/javascript" src="js/jquery-ui.min.js"></script>
<script type="text/javascript" src="js/jquery.ui.datepicker.validation.js"></script>
<script type="text/javascript" src="js/demo.js"></script>
<link rel="stylesheet" media="screen" href="css/datePicker_woas.css"/>
or You can check it on url :
http://keith-wood.name/uiDatepickerValidation.html
This maybe simple, I just want to change date format become example : 20-Apr-2012.
I've tried to change, but can't.
In the keith-wood web, he give we to change date format,
<code class="jsdemo">$('#validFormatDatepicker').datepicker({dateFormat: 'yy-mm-dd'});</code>
but if I change this, I can't control mix-max date again ?
Can we combine this function ?
<code class="jsdemo">$('#validFormatDatepicker').datepicker({dateFormat: 'yy-mm-dd'});</code>
with this :
<td class='td'><input type='text' size='12' name='ot_date" . $i ."' id='validMinMaxDatepicker' class='dpDate' readonly></td><code class='jsdemo'>$('#validMinMaxDatepicker').datepicker({minDate: -14, maxDate: -1});</code>
Thank you