Hi all,
I need to make the datepicker show when I click on a link and then send the selected date to a different page through a post call.
T tried to use this code for the link call:
$(".click-on-link").click(function(){
$('#datepicker').datepicker({
changeMonth: true,
changeYear: true,
dateFormat: 'dd/mm/yy',
firstDay: 1
});
});
and the html:
<a class="click-on-link" href="#">show datepicker</a>
but it's not working. Any idea?
Thanks!