Hello, I have DB of category (id, name) and DB of sub_category (id, category_id, name) I want to do select box for sub_category that will be changed according to the "category" box. I mean - if I'm choosing the second category I will see different options on the sub category box. Can you please help me with that?
I'm not sure if you can see that (because the lang type), but here: http://www.israeli-guitar.com/sites/sb/index.php?page=register the first select box effect on the second one. for some reason its only works on FF and not on IE (I have ver 6)... :/
If you are going to do it with the database then it is most likely sensible to do it with Ajax. A simple postback once the first one has been selected and then populate the second drop down with the db query result. Googling cascading drop down menu + your preferred language should give you an example