i starting using cf 10, , external js calls 404 error.
this latest test: 2 files 1 cfm 1 js in webroot
wwwroot
hello.cfm
hello.js
hello.cfm contains following
<script>alert('hello calling page');</script>
<script src='hello.js' language='javascript'></script>
hello.js contains following
alert('hello external js file');
the inline script fires fine, external js file returns 404 - not found.
i have run on 3 separate systems, stand lone lap top, virtual machine on net work , dev machine
used firefox, ie, operal , chrome , results identical. setting missing in cf admin or there new syntax calling external files in cf 10
anyone else run this?
if both documents in root, see if makes difference.
<script>alert('hello calling page');</script>
<script src='/hello.js' type='text/javascript'></script>
^_^
More discussions in ColdFusion
adobe
Comments
Post a Comment