Datepicker switching between multiple calendars

Datepicker switching between multiple calendars

Hi all,

I'm using the following code to display 2 datepicker calendars which allow a date range to be selected: http://pastebin.com/HA4YaQnL

I can't figure out how to stop the calendar switching to the next month when a date in the right side calendar panel is clicked on.

I only want the month to switch if the arrows above the calendar are clicked on.

I'm guessing this is pretty simple to do but as a jQuery novice I'm a little lost, if anyone could point me in the right direction of what I need to use to do this it'd be much appreciated!

Thanks