I want to add some javascript code in-line with existing server-side code. Can anyone show me the correct the combo of ASP tags, etc.?
I've tried the following, which doesn't work:
Code:
<%LANGUAGE="VBSCRIPT"%>
..................
<%
......... vbscript and ASP stuff ....
<script language="Javascript" RUNAT=SERVER>
........ javascript code using a recordset object.........
</script>
..... continue w/ vbscript and ASP stuff
%>
and
Code:
<%LANGUAGE="VBSCRIPT"%>
...............
<%
.......... vbscript and ASP stuff
%>
<%
<script language="Javascript" RUNAT=SERVER>
........ javascript code using a recordset object.........
</script>
%>
<%
......... continue w/ bvscript and ASP stuff
%>
and also without any ASP tags or the <script> tag - which I knew wouldn't work; and it didn't.