Answered
For Javascript Guru's
I've searched online, but can't find a similiar example.
I want the site owner to be able to edit a certain part of script, so I have put a section in a .cfm file so it can be edited by the site owner.
In the <script type=> tag I have put a <cfinclude> to the file, & then listed the rest of the script.
It doesn't appear to read the cfinclude file, because if I paste that section of script directly into the rest, the script works online.
Can I include a file inside javascript?
I want the site owner to be able to edit a certain part of script, so I have put a section in a .cfm file so it can be edited by the site owner.
In the <script type=> tag I have put a <cfinclude> to the file, & then listed the rest of the script.
It doesn't appear to read the cfinclude file, because if I paste that section of script directly into the rest, the script works online.
Can I include a file inside javascript?
