Jump to content

Archived

This topic is now archived and is closed to further replies.

brown2005

Select Boxes

Recommended Posts

Hi,

I have two tables;

1. categories - categories_id, categories_name

2. categories_sub - sub_id, sub_categories_id, sub_name

what i want to do is have one select box that gets a list of categories from table 1 and then when you select a category in the first select box, the second select box automatically updates with the sub categories.

any help please?

Share this post


Link to post
Share on other sites
Use either

javascript - see baaSelect link in my sig

or

see [a href=\"http://members.aol.com/barryaandrew/xmlhttp/article.html\" target=\"_blank\"]http://members.aol.com/barryaandrew/xmlhttp/article.html[/a] for AJAX method

Share this post


Link to post
Share on other sites
Barand, your pages look a bit "technical".
And it'd be nice if you could give us a living demo :)

Share this post


Link to post
Share on other sites
Alas, I haven't got round to getting a hosted domain yet.

And it is a technical article.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.