Blog | Website Designs | Full Blown Studio

How to make an Ajax Call to a ColdFusion Component using Jquery

An easy way to call ColdFusion Components using Jquery Ajax

There are many good examples of how to use Jquery with ColdFusion including how to make a simple Ajax call to a ColdFusion Component if you Google it, but this comprehensive example shows you step by step how to connect to a ColdFusion Component using Jquery/Ajax and get back some results to show on the page instantly.

My example is a basic form submission which sends an email to the email address you entered in the form.

When you click "submit" it triggers the Ajax function. Instead of submitting the form or reloading the page, the ColdFusion Component sends an email and returns the results so you can display an alert on the page for the customer. 

The page looks like this, with a simple form.

Click here for a live demo

Download the sample files. (zip)


Thank You for Visiting

Your first visit was on Sat 7/24/2021 11:47PM
Your last visit was on Sat 7/24/2021 11:47PM
You have viewed 1 total pages on this site.
Your IP address is 35.173.42.124
Certified Expert Coldfusion Programmer
Santa Clarita, CA 91390
©2021 Full Blown Studio
Premier Web Designs
All Rights Reserved