I am using a clickable calendar and want the user to be redirected according to the date that they pick (which will correspond with the name of a folder on my server)
so what I have established that I need window.location
However, I want to add a variable to the end. So if the variable "date" equals "20091001" (Oct 1), i would want the user to be sent to http://www.mysite.com/20091001.
this is what i have tried:
window.location = "http://www.mysite.com/" + 'date'
I really dont know what I'm doing though.
Thanks for any help.