Use the event on the textbox rather be considered with the calendar
$("#date1").change( function()
{
var date = Date.parse($this.val());
$("#date2").text(date.getDate()+3);
});
Of course there is more to it to calculate the date properly but this should give you the idea.