I have a variable that I'm defining in JavaScript:
<script>
var foo = 5;
</script>
<%
For i = foo To 10
'do something...
Next
%>
Currently the access to foo does not work; how can I access the value? Should I use a form? Please note that I'm using classic ASP not ASP.NET.