If I have a combobox1
has the items: Fruits & vegetables.
I need to show a nother combobox2
based on the selected item in combobox1
.
If the selected item in combobox1
is Fruits
, then combobox2
items are: apple, orange ..etc.
If the selected item in combobox1
is vegetables
, then combobox2
items are: radish, lettuce..etc.
How can I do that using PHP & HTML? (Please consider "PHP & HTML only" as a condition).
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…