Call jquery datepicker from link and send the date through a post call
- by Alex
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
});
});
but it's not working. Any idea?
Thanks!