ColdFusion Programming/cfselect problem

Advertisement


Question
good day sir, can i ask a question:
I know that cf is a server side programming, but i need a two dynamic cfselect that respond to each other without sending the page sending to the server.

for example i have three category on my cfselect1:
1. Animals
2. Plants
3. Planets

If i select Animals on my cfselect1 i want  my cfselect2 to load all animals from my MSaccess table, and same with the other categories (animals, plants, planets).
Is it possible? Please help.
thank you very much and im looking forward for this.

Answer
You answered the question yourself when you said it is a server side language. Using CF you can not have them interact without going back to the server.

So that leaves you 1 other choice, load everything into javascript arrays and then use an onChange() with the first cfselect to load the second one using JavaScript.

And before you ask, I will not write the code for this without charging money. It would take some work but it is doable.

ColdFusion Programming

All Answers


Answers by Expert:


Ask Experts

Volunteer


Donald Hammond

Expertise

Expert in ColdFusion, Flash ActionScript, XML, and SQL.

Experience

Cold Fusion, Flash Action Script

©2012 About.com, a part of The New York Times Company. All rights reserved.