Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Javascript
runat="server" functions execute, but variables don't exist - ASP
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="iporter, post: 4963940"] I had wondered why we always had all this quoting cluttering up the page - I will leave it from now on. No doubt I'm making a mistake here. However, I don't appear to be able to use the include syntax within <% %> brackets. Assuming test.js consists of the single line Response.Write('test');, the first of the following examples yeilds 'Response.Write('test');' on the page as text, and the second yeilds a blank page. <%@ language="javascript"%> <!--#include virtual="/test.js"--> <%@ language="javascript"%> <% <!--#include virtual="/test.js"--> %> Are you sure this is possible? [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Javascript
runat="server" functions execute, but variables don't exist - ASP
Top