I’d like to pop up a selectbox depend on the first level selectcox options. How can I do this?
For example, the first level selectbox provide the customer the options of (cars, food, electronics). Then if the customer choose food, then pop up the second level selectbox of food options as (rice, drink, meat). Then if a customer choose rice, list print all rice stocks on the screen such as " long grain, short grain."
I found the second level selectbox doesn’t work, once the button is pressed, all the record is gone even with the session.