Re: Code from cfhtmlhead showing up in jQuery AJAX JSON data

2011-09-24 Thread Russ Michaels
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 r...@whitestonemedia.com wrote: Ok... something to talk about besides $20/hr (which may look really good, depending on how hungry you are...) I

RE: Code from cfhtmlhead showing up in jQuery AJAX JSON data

2011-09-24 Thread Rick Faircloth
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 request ? Russ On Sat, Sep 24

Re: Code from cfhtmlhead showing up in jQuery AJAX JSON data

2011-09-24 Thread Russ Michaels
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 Faircloth r...@whitestonemedia.com wrote: Ok... something to talk about besides

Re: Code from cfhtmlhead showing up in jQuery AJAX JSON data

2011-09-24 Thread Steve 'Cutter' Blades
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 cfscript application.siteDetail =

RE: Code from cfhtmlhead showing up in jQuery AJAX JSON data

2011-09-24 Thread Rick Faircloth
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) Set up your js vars

Re: Code from cfhtmlhead showing up in jQuery AJAX JSON data

2011-09-24 Thread Lists
'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 You wouldn't put it in onApplicationStart, but onRequest (cf9+). onRequest is only triggered on cfm requests