cffunction

How to call cffunction on the cfm page from javascript?

瘦欲@ 提交于 2021-02-07 09:44:09
问题 I was wondering if I can call cffunction on my cfm page? I have onClick button that should make a call to the cffunction that is on the same page. Also I have tried to put cfcomponent around my function but I was getting this error: Invalid CFML construct found on line 94 at column 1. ColdFusion was looking at the following text: < The CFML compiler was processing: < marks the beginning of a ColdFusion tag.Did you mean LT or LTE? So far I have this: <cffunction name="getRecords" access=

How to call cffunction on the cfm page from javascript?

不打扰是莪最后的温柔 提交于 2021-02-07 09:43:10
问题 I was wondering if I can call cffunction on my cfm page? I have onClick button that should make a call to the cffunction that is on the same page. Also I have tried to put cfcomponent around my function but I was getting this error: Invalid CFML construct found on line 94 at column 1. ColdFusion was looking at the following text: < The CFML compiler was processing: < marks the beginning of a ColdFusion tag.Did you mean LT or LTE? So far I have this: <cffunction name="getRecords" access=