sorry typo
this is the correct one:
<select id = "sel" onchange = "window.location.href=this
<option value="pagename.asp?period
<option value="pagename.asp?period
</select>
Main Topics
Browse All TopicsHi guys,
I have a form on my page with a drop down menu with values like:
<option value="NOV06">NOV06</optio
<option value="DEC06">DEC06</optio
Currently there is a submit button and form as well and the page is reloaded with the selected menu option. So if the user selects NOV06 then page is reloaded with a querystring of pagename.asp?period=NOV06
However I need this same thing to happen without having to click a submit button - so basically as soon as the user selects the option the page is reloaded with the correct querystring.
Can someone help with this?
Thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
This works for me for many years
<script language="JavaScript">
function reloadPage(x) {
window.location = "pagename.asp?period=" + x;
}
</script>
<select id = "sel" onchange="reloadPage(this.
<option value="NOV06">NOV06</optio
<option value="DEC06">DEC06</optio
</select>
and use query string to get the value.
Business Accounts
Answer for Membership
by: archrajanPosted on 2006-12-14 at 08:43:56ID: 18140027
<select id = "sel" onchange = "window.location.href=this .options[t his.select edIndex].v alue"> =NOV06">NO V06</optio n> =DEC06">DE C06</optio n>
<option value="pagename.asp?period
<option value="pagename.asp?period
</script>