Robert,

Unfortunately, there is no way to do this. But you can add one level of
"security" by substituing your JavaScript code with "external calls".
Instead of including the JavaScript code along with the HTML in the same
page, you create and external file for the JavaScript functions with
extension .js (I am not sure if the extension .js is required, you can
probably use a different one). You code will look like this:

<SCRIPT LANGUAGE="JavaScript1.2" SRC="/main/jssource/track.js"></SCRIPT>

Somebody trying to "steal" your code will need to know how to access the
track.js file (which is not really hard, but again, there is no way to
completely hide it).

Hope this helps. Regards!

Ricardo Villalobos
www.dimasys.com

-----Original Message-----
From: Robert Sher [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 26, 2000 12:19 PM
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