I need to adjust a date selected in jQuery's datepicker. For example, whatever user chooses, change to closest weekend.
Is there a way to do this? Some validation / filtering support. Or maybe it can be done with a help from some other validation library that will track text in the text box, not the datepicker value?