Use Ajax.  You can call a CF function with it which will perform the DB 
Query and return the results.  Then call another CF function to populate 
form fields.

Mullai Subbiah wrote:
> Can we use Cfquery within Javascript. I am trying to populate a form based on 
> what I do within the Javascript. Once I am done I need to populate the form 
> fields by querying the database? Any thoughts will be appreciated
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253247
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to