How to call cffunction on the cfm page from javascript?
问题 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=