This is kindof a newbie question, so please bear with me...
I need to pass the selected option of a <select> tag into a query
string, so that the page is reloaded with the selected option already
chosen. This will occur with the onclick() event hander, and the query
string will be processed using a server-side technology. I'm just not
sure how to word the "onclick" handler. Here's what I have:
<select id="StartMonth " name="StartMont h" onchange="locat ion.href =
'thispage.cfm?S tartMonth=_____ __'">
What is the correct wording to set the underlined portion to whatever
was selected? I know it has to be done with JavaScript, since the
decision is made on the client-side. Any help would be soooo appreciated.
Thanks,
Aaron
I need to pass the selected option of a <select> tag into a query
string, so that the page is reloaded with the selected option already
chosen. This will occur with the onclick() event hander, and the query
string will be processed using a server-side technology. I'm just not
sure how to word the "onclick" handler. Here's what I have:
<select id="StartMonth " name="StartMont h" onchange="locat ion.href =
'thispage.cfm?S tartMonth=_____ __'">
What is the correct wording to set the underlined portion to whatever
was selected? I know it has to be done with JavaScript, since the
decision is made on the client-side. Any help would be soooo appreciated.
Thanks,
Aaron
Comment