Teddy
Not sure if this is a great answer and I am sure some of the more experienced ACFUGers may have a better answer.
_javascript_ is usually done on the client side so I don't believe it is even possible to embedd CFML code into _javascript_. Someone please correct me here if I am wrong. The error below leads me to believe that you might just try renamming the query or possibly that the cfloop is trying to loop through a query named 'CATEGORY' which may not exist. Possibly the name 'CATEGORY' is reserved. Don't know if this help or hurts but may be worth a shot. Best of luck.
Dusty
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of McTure, Greg
Sent: Monday, August 21, 2006 9:56 AM
To: discussion@acfug.org
Subject: [ACFUG Discuss] Embedded CF in _javascript_
This is a general question to see if anyone has ran into issues with embedded CFML code in _javascript_ with a page working in CFMX and not in CF5? The code I have works as intended in CFMX but I get the following error on CF5? Any suggestions that anyone may have on the cause and/or resolution of this will be greatly appreciated. Thanks in advance.
Error Diagnostic Information
Cannot set default query to CATEGORY
A query by this name is not available at this time
The error occurred while processing an element with a general identifier of (CFLOOP), occupying document position (257:1) to (257:76).
-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink
-------------------------------------------------------------
-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink
-------------------------------------------------------------
--
<cf_payne />
Blog: http://cfpayne.wordpress.com/
Atlanta CFUG: http://www.acfug.org
-------------------------------------------------------------
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform
For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink
-------------------------------------------------------------