i'm using a jquery datepicker and i'm facing the problem that when a postback is made the the datepicker disappears. I've tryed to reinitialize the datepicker on page load. Please advice, thanks in advance. I tryed so:
$(document).ready(function () {
pageLoad();
SetValues();
});
function pageLoad() {
$("#calendar").datepicker({ dateFormat: 'mm/dd/yyyy' });
}