Datepicker Range - Dont want unselectable day when i use maxDate

Datepicker Range - Dont want unselectable day when i use maxDate

Hi!, I'm using range datapicker in my web and I need know when I select the ranges dates (#from and #to) that if i open again ('#from').datepicker that the date selected in (#to) appear selected with a class in (#from)... I was using maxDate in "onClose" but this option disable the next dates and i need that user can select other day out of the range. Thanks!!!