I have a problem with datePicker. When a make a new text field with datepicker and append it to some div it wont work.. Did anyone had the same problem...
$(function(){
$("#DP").datepicker({showOn: 'button', buttonId: 'kalendar', buttonImage: 'calendar.gif', buttonImageOnly: true});
$('a').click(function(){
$('<input type="text" id="DP">').appendTo('#some_div').show();
});
});
...
...
<\body>
<\div id="some_div"></div>
<\a href="#">New datepicker<\/a>
...
I need changeble numbers of datePickers fields. And sorry about my english..