: cant mix things like
:
: <script language="javascript">
: var i;
: i = <%session("bla")%>
: </script>
:
: <script language="javascript">
: response.write("window.scroll(0,100)");
: </script>
:
: althought mixing with html works (at least that whats written in a book of mine) like
:
: <font size=<%i%>>
:
: response.write("<font size=5>");
:
:
: can anybody tell me how i mix them out?
:
: thx
: dolev
:
:
You CAN do this :
<script language="javascript">
var i;
i = <%=session("bla")%>
</script>
Response.write is serverside code, you have to enclose it within the % delimiters..
<%response.write("window.scroll(0,100);")%>