D
Darrel
I'm try to put some server-side (codebehind) variables in my javascript.
Something like this:
<script language='JavaScript'>
var monkey = <asp:literal runat="server" id="strMonkey"></asp:literal>
But VS'03 doesn't like any ASP tags being wrapped in a script tag.
So, I response-write the script tag. No my literal works, but VS '03 keeps
reformatting my javascript in design view.
I asked yesterday about this and was pointed to this article:
http://www.codeproject.com/aspnet/Mayank_Gupta.asp
Something like this:
<script language='JavaScript'>
var monkey = <asp:literal runat="server" id="strMonkey"></asp:literal>
But VS'03 doesn't like any ASP tags being wrapped in a script tag.
So, I response-write the script tag. No my literal works, but VS '03 keeps
reformatting my javascript in design view.
I asked yesterday about this and was pointed to this article:
http://www.codeproject.com/aspnet/Mayank_Gupta.asp