> That's why I suggest that your > javascript code should not need be aware of any server side logic.
But how will the client-side ajax code interact with the server side code without sending, in this case, at least a datasource name, unless I hard-code the dsn into the cfc method... -----Original Message----- From: Dominic Watson [mailto:[email protected]] Sent: Wednesday, September 09, 2009 3:04 PM To: cf-talk Subject: Re: How to handle CF variables in JS (jQuery) external files... > What am I missing here? The difference between server side code and client side code. Javascript will *always* be visible to the client. That's why I suggest that your javascript code should not need be aware of any server side logic. Dominic ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326161 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

