VBScript Functions
VBScript
Download (.zip)
<html>
<head> <script type="text/vbscript"> function myFunction() myFunction = "RED" end function </script> </head>
<body> <script type="text/vbscript"> document.write("My favorite color is " & myFunction()) </script> </body>
</html>
|