Código HTML:
<script> $().ready(function() { $("#datepicker").datepicker({ changeMonth: true, changeYear: true, dateFormat: "yy-mm-dd", yearRange: "2012:2020", onSelect: function(dateText, inst) { $("#datepicker_value").val(dateText); } }); }); </script> <table> <tr> <td>Arrival Date:</td> <td><div id="datepicker"></div></td><td><input type="text" id="datepicker_value" readonly="readonly"/></td> </tr> <tr> <td>Departure Date: </td> <td><div id="datepicker"></div></td><td><input type="text" id="datepicker_value" readonly="readonly" /></td> </tr> <td>Adjuntar una Foto</td> <td><input type="file" /></td> </table>