Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q5815 How can I make JavaScript my scripting language?

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)


%>

Feedback on 'Q5815 How can I make JavaScript my scripting language?'

©2018 Martin Webb