I'm trying to get a javascript event to reload a page when I change a date using calendar control, but the page won't reload. Any idea how to do this?
this is what i have right now
<input type="text" name="start_date" onFocus="showCalendarControl(this);" value="#FORM.start_date#" onchange="changeDateReload(this.value);" />
function changeDateReload(newDate){
<cfoutput>
window.location("editBooking.cfm?booking_id='#URL.booking_id#'&req_mon={ts ''newDate' 00:00:00'}&req_time='#URL.req_time#'&req_room_id='#URL.req_room_id#'");
</cfoutput>
}