What I've done is enclose the cftag in script tags

<script>
        <cf_whatever>
</script>

I guess it depends on what your tag does, but give it a shot

-----Original Message-----
From: David Shadovitz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 25, 2000 1:55 AM
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/cf-talk@houseoffusion.com/
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to