Peter Hanley
Member since Mar 26, 2010
- Profile: /members/5723-peter-hanley.htm
- Comments: 4
Recent Blog Comments By Peter Hanley
-
Ask Ben: Building An AJAX, jQuery, And ColdFusion Powered Application
Posted on Oct 28, 2010 at 3:14 PM
@abhijit, Does the .cfm file work if you use $.load instead of .ajax? (substitute #ajaxDestination for whatever selector makes sense to contain the results): <!DOCTYPE html> <html> <head> <style> body{ font-size: 12px; font-family: Helvetica; } </style> <... read more »
-
Ask Ben: Building An AJAX, jQuery, And ColdFusion Powered Application
Posted on Apr 26, 2010 at 1:24 PM
@Randall - The decimal point thing is a problem with Cold Fusion's serializeJSON() function. You can work around it by either custom writing a json file, using a cfc that will make a json file for you, or just using the numbers as is. You can load the numbers into an int to strip off the decimal... read more »
-
Ask Ben: Building An AJAX, jQuery, And ColdFusion Powered Application
Posted on Apr 21, 2010 at 5:20 PM
@Randall With CFCs there's a simple (but not immediately obvious) url request method: http://path/to/[CFCname].cfc?method=[cffunctionName]&[URL_Param]=whatever The cffunction that you select has to be one that allows remote queries. Here's a jquery example: var senduser = $("#userNameField").v... read more »
-
Ask Ben: Building An AJAX, jQuery, And ColdFusion Powered Application
Posted on Mar 26, 2010 at 5:10 PM
I'm new to CFCs and AJAX and am running into what I'm assuming is a rudimentary problem: when I load the html file from my cf server I get the "unknown communication error" message. A quick look at application.log reveals: "Element CONTACTS is undefined in APPLICATION. The specific sequence of f... read more »