I am using bootstrap datepicker and my code is like following, Demo of the code on jsfiddle
Why not call the $('.input-group.date').datepicker("remove"); when the select statement is changed then set your datepicker view then call the $('.input-group.date').datepicker("update");
$('.input-group.date').datepicker("remove");
$('.input-group.date').datepicker("update");