CF 8 - "ColdFusion is not defined" JavaScript Error
I am trying to get ajax select dropdowns to work in coldfusion 8. I eventually want them to be related also. That is, the results of the second are based on the choice in the first. Well hit a wall and couldn't get the data to show up. using a test page I was able to return the correct results with a cfinvoke of the .cfc, but no data in the selects.
I didn't have firebug installed on this computer, so I went and got it and looking at the javascript error's I saw the error: CF 8 - "ColdFusion is not defined" JavaScript Error. Google that and I found the following that explained the cause:
CF 8 - "ColdFusion is not defined" JavaScript Error
The solution was to not only have a cf mapping to the cfide directory (which I already had) but also a web server virtual directory (which I didn't have). I added the virtual directory and it works.
Thursday, November 27, 2008
Subscribe to:
Post Comments (Atom)
1 comment:
Thanks David
Post a Comment