Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

Coldfusion Component page is not being processed. - or at least, it is not working

$
0
0

Hello,

 

I am using jQuery AJAX to call a function from a .cfc page. As of now, I am just using console.log(result) to see what response I get. And what I got is the content of the coldfusion component page.

 

screen_capture.png

 

And if I type the url on the browser I get the same...

2015-05-04_9-15-29.png

This is my code to make the call using AJAX

 

index.cfm

[code]

jQuery.ajax({

    url: 'sch_acc_maint_func.cfc',

    type: 'POST',

    data: {method: 'student_info', accnumber: accnumber, dsrc: dsrc}, //variables are defined , but I have not posted the code...

    success: function(student){

          console.log(student);

      }

});

 

[/code]

 

 

The contents for sch_acc_maint_func.cfc, can be seen on the picture.

 

 

I am running Coldfusion 9 on a unix server.

 

 

Has anybody experienced this situation? Any advise will be really appreciated.


Viewing all articles
Browse latest Browse all 5794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>