Hi all, I have been running sites for many years on CF (4.1). I know...ancient. I have a site which uses a dropdown menu loaded through src files <script src='javascript/scripts.js' type="text/javascript"></script> The same implementation is working under CF4.1 but won't work under CF MX 7 to which I am trying to upgrade on a new server. Everything else is working fine. but I get "Object expected" when I try to call functions in this scripts file which suggests that the files are not passed to the client. I have used absolute paths in the link and the problem remains. Interestingly when I remove the CF tags and save the template file as .htm in the same directory as the CFM file the scripts execute perfectly which rules out firewall issues. Is CF 7 doing something to the <script>? Is it trying to run the javascript on the server and not passing it to the client as a result? I understood that CF ignored <script> tags. Any thoughts.
hmm - interesting Apart from posting the code (which would be great). Try either of these two: 1) add a double slash 2) rename the javascript folder to something else