C
Cirene
I have javascript code that does an alert on a public asp.net var...
alert("<%=strMessage%>");
The code runs whenever my ajax related code completes.
I declared the public var like this...
Public strMessage as string = "PUBLIC MESSAGE"
In my code I changed the variable but when the alert runs it always has the
original value, even though the var has been updated.
Any ideas why?
alert("<%=strMessage%>");
The code runs whenever my ajax related code completes.
I declared the public var like this...
Public strMessage as string = "PUBLIC MESSAGE"
In my code I changed the variable but when the alert runs it always has the
original value, even though the var has been updated.
Any ideas why?