OK so i have setup my js 2 stage menu
select from 1st list is area
addOption("First-Select", "Select an Area", "", 1); //HEADER OPTION
addList("First-Select", "Aberdeen", "", "1");
addList("First-Select", "Aberdeenshire", "", "2");
From what is selected shows town in that are only
from
addOption("1", "Select a Town", "", 1); //HEADER OPTION
addList("1", "Ballater", "", "Ballater");
addList("1", "Balnagask", "", "Balnagask");
addList("1", "Banchory", "", "Banchory");
addList("1", "Bankhead", "", "Bankhead");
addList("1", "Bieldside", "", "Bieldside");
Now that all works fine but what i need to know now is how to tell the Form what has been selected
This is what i have now
<select nameselect name="PROPERTYLOCATION" style="width:180px;"></select><br><br><select nameselect name="PROPERTYTOWN" size="4" style="width:160px;"></select>
Were PROPERTYLOCATION is the 1st menu and PROPERTYTOWN is the second menu this works on the form as in it displai it on the page and i can select from eather menu just fine
What it is not doing is deting the value and writing it to SQL table so i need to know how or what i need to chang in this live of code please
<select nameselect name="PROPERTYLOCATION" style="width:180px;"></select><br><br><select nameselect name="PROPERTYTOWN" size="4" style="width:160px;"></select>