Hi, I have a problem with the Jquery UI datepicker, I have searched and searcher and i didn't find the answer.I have the following code:
<script type="text/javascript">
$(function() {
$("#birthdate" ).datepicker({
changeMonth: true,
changeYear: true,
yearRange: '1920:2010',
dateFormat : 'dd-mm-yy',
defaultDate: '01-01-1985'
});
});
</script>
I want that when the user click in the #birthdate input that the current date selected to be 01-01-1985, now is the current date.Sorry for my dumb question.