Skip to main content
Ben Nadel at cf.Objective() 2009 (Minneapolis, MN) with: Curt Gratz
Ben Nadel at cf.Objective() 2009 (Minneapolis, MN) with: Curt Gratz

Peter Hanley

Member since Mar 26, 2010

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 »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel