Problem in getting class variable value in javascript/html [modified]
-
Hi: Following is the sample code. The problem is I have a class called Test and a static variable testString="Hotmail" in it. I am refering this variable using <%> tag in my page. The text is not displayed in my page when I run it. But when the text is available in View-Source. I am getting the value of the static variable in tag. But not in <a></a> tag. Can anybody help on this? Thanks in advance. Muthu. <html xmlns="http://www.w3.org/1999/xhtml"> <body> <head runat="server"> <title><%=Test.testString %>
-- modified at 15:57 Friday 16th February, 2007
-
Hi: Following is the sample code. The problem is I have a class called Test and a static variable testString="Hotmail" in it. I am refering this variable using <%> tag in my page. The text is not displayed in my page when I run it. But when the text is available in View-Source. I am getting the value of the static variable in tag. But not in <a></a> tag. Can anybody help on this? Thanks in advance. Muthu. <html xmlns="http://www.w3.org/1999/xhtml"> <body> <head runat="server"> <title><%=Test.testString %>
-- modified at 15:57 Friday 16th February, 2007
-
Do you mean the string that you don't output between the start tag and the end tag of the link? Gee... I wonder why that isn't showing up on the page... ;)
--- single minded; short sighted; long gone;