I have this Classic ASP code
<form method="POST" name="SendMe">
<p><select name="DropIt" size="1">
<option><% =myYearsArray(6) %></option>
<option><% =myYearsArray(5) %></option>
<option><% =myYearsArray(4) %></option>
<option selected><% =myYearsArray(3) %></option>
<option><% =myYearsArray(2) %></option>
<option><% =myYearsArray(1) %></option>
<option><% =myYearsArray(0) %></option>
</select>
<input type="button" name="B1" value="Go">
I need the syntax that will drive the user from
http://<currentURL> to
http://<currentURL>/<selec
tedoption>
the selectedoption is a folder within the currentURL: I tried the following code but it didnt work:
<SCRIPT FOR="B1" EVENT="onClick" LANGUAGE="VBScript">
myURL= "'/" & selectedvalue = request.form("SendMe") & "/default.asp'"
myURL= Request.Url.Host & myURL
navigate(myURL)
</SCRIPT>
Start Free Trial