You are here: irt.org | FAQ | ASP | Q5815 [ previous next ]
Simply use the <script> tags with the parameters seen below.
JavaScript is in many ways a more useful scripting language than VBScript. Using it to create functions which are then available to VBScript is a great way to get around some of VBScript's limitations.
<script language=javascript runat=server>
// ALL YOUR ASP IN JAVASCRIPT GOES HERE
function multiplyIt(number, factor) {
return number * factor
}
</script>
<%
response.write multiplyIt (79, 23)
%>