Web Design Tips & Tricks

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 Sun 6/16/2019 7:43AM
Your last visit was on Sun 6/16/2019 7:43AM
You have viewed 1 total pages on this site.
Your IP address is 3.90.108.129
Certified Expert Coldfusion Programmer
©2019 Full Blown Studio
Premier Web Designs
All Rights Reserved