Get Variable from ASP.NET
i have a variable named "_var" defined on the ScriptSide
when i write a script in the HTML page the _variable imports the value and everything is working great.
when i put those lines in a external JS file ("JSript.js") and import the file to the HTML page
var _variable = "<%=_var %>";
the _var isn't reckognized, and _variable returns the string itself insted of the value.
What am i doing wrong?