..
>
> Rick
>
> -Original Message-
> From: Steve 'Cutter' Blades [mailto:cold.fus...@cutterscrossing.com]
> Sent: Saturday, September 24, 2011 8:41 AM
> To: cf-talk
> Subject: Re: Code from cfhtmlhead showing up in jQuery AJAX JSON data
>
>
> Yo
8:41 AM
To: cf-talk
Subject: Re: Code from cfhtmlhead showing up in jQuery AJAX JSON data
You wouldn't put it in onApplicationStart, but onRequest (cf9+).
onRequest is only triggered on cfm requests, whereas a cfc would trigger
onCFCRequest. (I am assuming your Ajax requests are going to a CFC
You wouldn't put it in onApplicationStart, but onRequest (cf9+).
onRequest is only triggered on cfm requests, whereas a cfc would trigger
onCFCRequest. (I am assuming your Ajax requests are going to a CFC)
Set up your js vars in onApplicationStart
application.siteDetail = {"js_sitename"
; Sent: Saturday, September 24, 2011 8:00 AM
> To: cf-talk
> Subject: Re: Code from cfhtmlhead showing up in jQuery AJAX JSON data
>
>
> it is only happening onApplicationstart or is it being inserted into
> every request ?
>
> Russ
>
> On Sat, Sep 24, 2011 at 12:31 PM, Rick
ot;request" for data?
-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk]
Sent: Saturday, September 24, 2011 8:00 AM
To: cf-talk
Subject: Re: Code from cfhtmlhead showing up in jQuery AJAX JSON data
it is only happening onApplicationstart or is it being inserted into
every reques
it is only happening onApplicationstart or is it being inserted into
every request ?
Russ
On Sat, Sep 24, 2011 at 12:31 PM, Rick Faircloth
wrote:
>
> Ok... something to talk about besides $20/hr (which may look
> really good, depending on how hungry you are...)
>
> I recently started using cfht
Ok... something to talk about besides $20/hr (which may look
really good, depending on how hungry you are...)
I recently started using cfhtmlhead in onApplicationStart to put
the following CF/JS in the head of each page to translate my CF
site variables to JS:
var js_sitenam
7 matches
Mail list logo