Hi guys,
I have triple drop down and I want to use the value from the last selection drop down and to pass it into a text field for further prcedure with PHP.
Here is the code:
<Form name='Categories'>
<p>Country: <Select name='List1' onChange="fillSelect(this.value,Categories.List2)">
<option selected>Make a selection </a></option>
</Select>
</p>
<Select name='List2' onChange="fillSelect(this.value,Categories.List3)">
<option selected>Make a selection</option>
</Select>
<p></p>
<Select name='List3' onChange="getValue(this.value)" onClick= 'showSelected()' >
<option selected >Make a selection</option>
</Select>
</Form>
<Script>
fillSelect('Level1',Categories.List1);
Categories.List2.style.display ="none";
Categories.List3.style.display = "none";
</Script>
I have triple drop down and I want to use the value from the last selection drop down and to pass it into a text field for further prcedure with PHP.
Here is the code:
<Form name='Categories'>
<p>Country: <Select name='List1' onChange="fillSelect(this.value,Categories.List2)">
<option selected>Make a selection </a></option>
</Select>
</p>
<Select name='List2' onChange="fillSelect(this.value,Categories.List3)">
<option selected>Make a selection</option>
</Select>
<p></p>
<Select name='List3' onChange="getValue(this.value)" onClick= 'showSelected()' >
<option selected >Make a selection</option>
</Select>
</Form>
<Script>
fillSelect('Level1',Categories.List1);
Categories.List2.style.display ="none";
Categories.List3.style.display = "none";
</Script>