As far as I know, Javascript is not processed by Cold Fusion but by the
browser. It means that Coldfusion code is executed on the web server,
Javascript on the client computer. Thus, there is no way to hide the
Javascript code because it has necessarily to be transmitted to the browser
to be executed.
To hide the Javascript code from the user, you can think of tricks like
hidden frames, but on the long run they may generate problems, and I
personally discourage their use.
Hope this helps you,

Luca Bognolo
Aspect Computing

-----Original Message-----
From: Robert Sher [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 27 September 2000 3:19
To: CF-Server
Subject: Comment out Javascript in browser but not ColdFusion?


Is there a way to comment out Javascript codes to prevent the browser from
displaying them?  I would like to hide my Javascript from public view but
not from ColdFusion so that ColdFusion can process it.  Thanks in advance.
----------------------------------------------------------------------------
--
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with 
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

Reply via email to