Hi,
Suppose I have a table in a database like this:
Counrty Region Town
UK North Town 1
UK South Town 2
UK West Town 3
UK East Town 4
USA North Town 5
USA South Town 6
USA West Town 7
USA East Town 8
China North Town 9
China South Town 10
China West Town 11
China East Town 12
Does anyone know of a script which will help me take this table and produce the html to allow users to see this via a dynamic menu like this:
UK
USA
China
and then if they Click UK they would see:
North
South
East
West
and if they click North they would see:
Town 1
and if they clicked Town one that would set a variable equal to town 1?
I was trying to see if this was possible without using dropdowns. (as I’m having a lot of trouble doing it with dropdowns due to the length of the dropdowns!)
Thanks in advance!