Ok, after much looking I found an answer to the question in a Forta blog.

 *Many people in these threads are getting the error listed below:

window:global: Exception thrown and not caught (<url>, line 787)

The reason for this is because although you are calling a CFC, your are
ultimately sending a full HTTP GET request to the server. In doing so,
application.cfm/application.cfc is still being processed. If you are
including ANY content via application.cfm/cfc, then your call via AJAX is
actually returning the result of the CFC function as well as all content
being included in your requests....

The workaround that Im using is to check the value of the CGI.SCRIPT_NAME
and if it ends w/ cfc, DONT include any content... that way your CFC is only
returing the data that you want returned.

Oh yeah... make sure its in JSON format (SerializeJSON)....

Happy coding :-) *
*#*<http://www.forta.com/blog/index.cfm/2007/5/31/ColdFusion-Ajax-Tutorial-2-Related-Selects#cEF126C41-3048-80A9-EF5B761397335120>
* Posted By **Jared* <http://www.myspace.com/bodyboarder20>* | 12/18/07 4:04
PM *



-------------------------------------------------------------
Annual Sponsor FigLeaf Software - http://www.figleaf.com

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 http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to