I'm new to Javascript. I have a simple (I hope) request:

I have 2 simple drop down lists in a form where the first one (say foods) displays :

Based on what is selected (say fruit)
The second dropdown would display :

I only have 5 categories and 6 for each subcategory. No DB access is needed for this.

I am working in Coldfusion 8 and it does provide a convoluted AJAX solution which generates a ton of code.

Any simpler Javascript would be appreciated.