I don't see any answer to this and this is a very old question. However, for future reference and incase anyone comes across this problem.
You need to do (in the example below I've used http://localhost:3000/ this is the url my page was on, yours will/could be different. For example: http://www.myamazingsite.com/homepage/):
window.location.href = "http://localhost:3000/" + this.value;
Below is my full code snippet which is working perfectly for me. I read and reference from the Jquery ui Datepicker docs (http://api.jqueryui.com/datepicker/) and also, after research more examples came across this already answered on stackoverflow which extremely similar to what i've done: (Calendar change URL on select with jQuery UI datepicker).
$("#datepicker")
.datepicker({
defaultDate: parsedDate,
beforeShowDay: $.datepicker.noWeekends,
dateFormat: "yy/mm/dd",
onSelect: function(parsedDate) {
$(this).change();
}
})
.change(function() {
window.location.href = "http://localhost:3000/" + this.value;
});
Lastly, the parsedDate is a variable I created above
var parsedDate = $.datepicker.parseDate('yy/mm/dd');
Steps:
1: You need to use an OnSelect event for when you select one of the Jquery UI's dates.
2. You need to do: window.location.href which is used to redirect the page.