Modifying End date when selecting start date

Hi all.

I am using this calendar for 2 input texts (one is the start date and the other is the end date).

I want that, when user selects the start date, automatically the end date changes to the selected date (plus one day if possible).

I have tried with:

- javascript events on input texts: as usual, but it does not make anything

- cal1.setOnClickHandler: the calendar stays open and makes nothing

Can somebody help me?

Kind regards!

Please check attached sample (22 KB)

Thanks you very much.

Easy and fast.

Tanks a lot!!