Hello everybody,
I guess the answer to my question is as simple as the question, but I couldn't find the right answer on the internet.. so i'm posting my problem here :).
I use ui.datepicker
<script type="text/javascript">
$(document).ready(function() {
$("#date").datepicker({ //???look here
maxDate: '0D',
changeMonth: true,
changeYear: true,
dateFormat: 'yy-mm-dd',
showAnim: "fadeIn",
firstDay: 1,
changeFirstDay: false,
showOn: "both",
});
});
The problem is at the line with "???" ; I need instead of #date to be #date1, #date2,.. #daten where n is a javascript variable.
Thanks in advance.