A really good way to debug jQuery to CF mechanics is to use Firefox and
Firebug. In Firebug you can see AJAX calls. Right click on that line in FB
then select copy with parameters, and paste that into a new tab. It'll store
all of your passed in vars, and let you see what CF is doing.
andy
Firebug is cool but I also use a reverse proxy called Charles which is
extremely useful (http://www.charlesproxy.com/)
-Original Message-
From: Andy Matthews [mailto:li...@commadelimited.com]
Sent: Thursday, October 01, 2009 2:39 PM
To: cf-talk
Subject: RE: Debugging jquery post
Firebug is a great tool and will save you lot of time.
CF solution:
you can use the cftry..cfcatch and email the errors.
Example:
cftry
!--- your code ---
cfcatch type=any
cfmail subject= type=html from= to=
cfdump var=#cfcatch.detail# -- #cfcatch.message#
/cfmail
/cfcatch
I ran into Fiddler a while back. Pretty freaking awesome. It has a FF plugin
as well.
http://www.fiddler2.com/fiddler2/
On Thu, Oct 1, 2009 at 7:31 AM, Doug Hyde deve...@fusesite.com wrote:
I am having trouble processing a post to a cf template using a jquery post.
I have set up a template
Fiddler is good, but for the most part, Firebug is better.
-Original Message-
From: Gerald Guido [mailto:gerald.gu...@gmail.com]
Sent: Thursday, October 01, 2009 9:20 AM
To: cf-talk
Subject: Re: Debugging jquery post to coldfusion
I ran into Fiddler a while back. Pretty freaking
Generally when trying to debug a template, I will log the variables on a
separate page that I can refresh. Simply put the following code either in your
application.cfm or in the onrequest function in the application.cfc
cfsavecontent variable=exc
#now()#
h2FORM/h2
cfdump var=#form#
6 matches
Mail list logo