variable = test
var variable = <%= variable%>;
The code above doesn't carry the original vbscript variable over. I've also tried
var variable = '<%= variable %>';
However this just populates the value within the quotes into the javscript variable
Any help would be appreciated. Thank you.