|
October 31, 1999 Combining JavaScript and VBScript Tips: October 1999
Yehuda Shiran, Ph.D.
|
|
Unlike Netscape Navigator, Microsoft Internet Explorer supports VBScript, a scripting language based on Visual Basic. So if you're creating a cross-browser script, you can take advantage of VBScript for the Internet Explorer solution. VBScript is often a helpful addition, because it is tightly integrated with the user's platform through OLE Automation. JavaScript and VBScript are both loosely typed languages, so you don't need to worry about data types. Normally, you'll use JavaScript to invoke a function in a VBScript script:
These two languages can be combined to create useful scripting solutions that are otherwise impossible.
People who read this tip also read these tips: Look for similar tips by subject: |