altisdesign
Technical User
Hi
I want to put code into a JS file, so that one code change will change all of the pages, and so each of my pages are more cleanly coded and the code isn't quite so obvious when you view source. However, the Javascript I want to put in the JS file involves ASP to load information out of a database. Can anyone think of a way for this ASP to still execute and the JS file to still be included? (I have thought of using SSI but this just puts the code in place, and it is not the same as a JS file). I don't know if this is possible however.
Many Thanks
-Altis Design
I want to put code into a JS file, so that one code change will change all of the pages, and so each of my pages are more cleanly coded and the code isn't quite so obvious when you view source. However, the Javascript I want to put in the JS file involves ASP to load information out of a database. Can anyone think of a way for this ASP to still execute and the JS file to still be included? (I have thought of using SSI but this just puts the code in place, and it is not the same as a JS file). I don't know if this is possible however.
Many Thanks
-Altis Design