I'm trying to get a page to update the URL based on what gets selected in a drop down menu.
In the head I have the following:
selected = $(document.getElementById("monthselect").value);
window.location = "?mon=" + selected;
The select box is called monthselect but when I change the drop down nothing happens.
Thanks in advance