CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ColdFusion

 Inserting JS wrapped with Cold Fusion

Print topic Send  topic

Author Message
npglvr

Posts: 12
Posted: 05/25/2006, 3:24 PM

I'm looking to take the value from a drop down and use it to pre-poulate other fields based on the selection. The values and the drop down are all in the same dB table. I want to do this without reloading the screen.

I plan on doing a query and then outputing all of the info into js variables. Then when a selection is made (onChange) I'll retreive the variable that goes with that selection and write it to the correct field.

1) Is there a better way to achieve this
2) If not, then my real issue is populating all of the variables when the page loads for the first time. How do I do this? I can't put the code in the html page, because I can't use the CF in there.

Thanks in advance.
View profile  Send private message
E43509

Posts: 283
Posted: 06/09/2006, 8:20 AM

That is how I would do it today but available now are some AJAX methods that can do some behind the scenes functions to the server that don't give the appearnce of a posting back. Look up http://www.openrico.org/
http://www.techfeed.net/cfQuickDocs/
CFAJAX http://www.indiankey.com/cfajax/
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.