bear in mind that no cfcode within <script></script> tags will get
processed.
To get round this, put the code into a page, and then <cfinclude> the code
in between to <script></script> tags:
<script>
<cfinclude template="mytemplate.cfm">
</script>
<script>
<cf_mytemplate>
</script>
Enjoy
Paul
> -----Original Message-----
> From: David Shadovitz [mailto:[EMAIL PROTECTED]]
> Sent: 25 October 2000 06:55
> To: CF-Talk
> Subject: Custom Tag w/JS functions
>
>
> I'm writing a plain CF Custom Tag which also contains some JavaScript
> functions. I'm thinking of using CFHTMLHEAD to write the JS functions
> into the calling document's head.
>
> Any opinions as to where to write the JS functions?
> * At whatever point the tag is called
> * In the head via CFHTMLHEAD
> * Other?
>
> Thanks.
> -David
> ________________________________________________________________
> YOU'RE PAYING TOO MUCH FOR THE INTERNET!
> Juno now offers FREE Internet Access!
> Try it today - there's no risk! For your FREE software, visit:
> http://dl.www.juno.com/get/tagj.
> ------------------------------------------------------------------
> ------------------------------
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
> or send a message with 'unsubscribe' in the body to
> [EMAIL PROTECTED]
>
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message
with 'unsubscribe' in the body to [EMAIL PROTECTED]