HI all: I have a page called index.asp with a drop-list box being used to navigate to other pages. Also on this page is a text box called BTN. So when a user makes a selection from the drop-list box and presses GO, I want to pass the value in the BTN text box to the page that was selected and populate the BTN text box on that page. Here is the code for my drop-list box if it helps.
Code:
<form method="POST" name="SendMe">
<p><select name="DropIt" size="1">
<option></option>
<option> Save </option>
<option> Undecided </option>
<option> Cancel </option>
<option> Ineligible </option>
</select> <input type="button" name="B1" value="Go">
<SCRIPT FOR="B1" EVENT="onClick" LANGUAGE="VBScript">
select case document.sendme.dropit.selectedindex
case 0
navigate("index.asp")
case 1
navigate("save.asp")
case 2
navigate("undecided.asp")
case 3
navigate("cancel.asp")
case 4
navigate("ineligible.asp")
end select
</SCRIPT>
</form>