Here's the situation. You have loaded something into a server side variable and you want to find out what that value is.
------------------------------------
------------------------------------
Note the single quotes around the server tags. Without the single quotes, the JavaScript evaluates the contents of the variable as code and not a string. Also note the = in front of the server side variable. This causes it to return the value of the variable.
In the image I attached I failed to insert the attributes for the script tag, so be sure you do that to tell it that it is JavaScript.