Linking datepicker and selectable

Linking datepicker and selectable

Hi all,

For my development, I would like to know if there is a way to overload a datepicker with a selectable object. Indeed, I would like to have the datepicker layout, but I would like also to be able to select multiple ranges of days.

I'm currently using a selectable object only, but I was just hesitating to merge the selectable code into the datepicker one :

1. I loose the possibility to upgrade to a higher version of jquery
2. I duplicate the selectable code

Did you have the concern of using two modules in one, while designing the modules ?
Is there a clean way to do that without duplicating the code ?

As for now, I am just entering the source code, so I just don't know how I could develop a glue between them so that the code isn't duplicated.

I will go back to the forum later when I am more clear about that, but could you give me any advice to begin ?

See you.

Steve