I've got this code to generate my datepicker:
<script>
$(function() {
$(".datepicker").datepicker({
showOn : 'button',
buttonImage : '../resources/images/calendar.png',
buttonImageOnly : true,
buttonText : 'Pick a date',
onSelect : function() {
}
});
});
</script>
Every time there is a postback, I loose all my calendars.
I am working with JAVA and not .net. How can I do to resolve it?
Thanks.