originally defined... with an end tag. Here's a work around; copy this
code into a file called htmlhead.cfm in your customtags directory:
<cfswitch _expression_="#thistag.executionmode#">
<cfcase value="start">
</cfcase>
<cfcase value="end">
<cfhtmlhead text="#thistag.generatedcontent#">
<cfset thistag.generatedcontent="">
</cfcase>
</cfswitch>
Then do this:
<cf_htmlhead>
// js code here
// cfmodule code here
//etc
</cf_htmlhead>
Steve Nelson
[EMAIL PROTECTED] wrote:
> [Apologies if this occurs twice; I've sent it an hour ago but hasn't
> appeared on the list so I'm presuming it's gone down the blackhole
> route.]
>
> Hi everyone,
>
> I'd like to include a _javascript_ validation bunch of functions in the
> header using CFHTMLHEAD. Problem is, this _javascript_ is called
> normally using CFMODULE (Attributes have to set certain JS variables).
> Is there a way to include the returned contents of the CFMODULE (the
> _javascript_) in the HTML head using CFHTMLHEAD?
>
> Cheers,
> Rob
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

