spacer
Yehuda Shiran October 31, 1999
Combining JavaScript and VBScript
Tips: October 1999

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
Google Chrome Playing Catch-Up on Extensions
Open Solutions Alliance Gets New Leadership
Red Hat Spacewalk Expands Linux Management
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:

<SCRIPT LANGUAGE="JavaScript">
<!--

function jsFunction() {
  vbFunction();
}

// -->
</SCRIPT>
<SCRIPT LANGUAGE="VBScript">
<!--

Sub vbFunction
  // do something
End Sub

// -->
</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:

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

webref The latest from WebReference.com Browse >
Administering MySQL Databases on the Web Using PHP · Popular JavaScript Framework Libraries: An Overview - Part 3 · Accessing Your MySQL Database from the Web with PHP
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
So what is an Oracle Nested Table? · E-Discovery Architectures 101 · eBay Embraces Big Sellers, Cyber Monday Trends