this may seem trivial but I(m setting up, on a profile form page I(m building, a countries and states select box such that when you select the US or Canada then the states box would display states of the selected countries else it would display a None Applicable instead. My countries and states are in a database and I(m populating m y selects from that - I would like a simple yet proper way to do this - I noticed that for some reason disabling select options is not supported in all browsers :( - or is there any nice free snippet online I could use [maybe I(m feeling too lazy to code this here]
Thanks for the replies - the cascading drop down seems to do what I need but I(m looking for a php based solution.
How have mainstream websites accomplished this btw. Because I don(t want to leave it to the user and end with entries including American/ Canadian states with countries that are not the US/Canada.
_POST[(address(], _POST[(city(], _POST[(state(],_POST[(country(]
The thing is binding this action to each instance of state and countries when created.
posted date: 2009-04-14 21:42:00