Categories:
Partners

Other scripting languages on the web

JavaScript has become so dominant over its short life span that many authors believe its the only scripting language on the web. Well, not quite. There exist at least two other fairly popular ones, namely, JScript, and Vbscript. Both of these languages are supported only by IE, and the easiest way to make sure that only IE browsers interpret code written in these two languages is by using the language attribute. The below demonstrates this:

<script language="VBscript">
msgBox("This text is only alerted for IE users!")
</script>

Without the language attribute, NS will choke on the above line of code.